0x02 networkx k-core
The structure of large networks can be revealed by partitioning them to smaller parts, which are easier to handle. One of such decompositions is based on k--cores, proposed in 1983 by Seidman. In the paper an efficient, O(m), m is the number of lines, algorithm for determining the cores decomposition of a given network is presented.1. nx.k_core(G, k=None, core_number=None)
2. nx.k_shell(G, k=None, core_number=None)
3. core_number(G)
最后更新于