Return the k-crust of G.
The k-crust is the graph G with the k-core removed.
Parameters : | G : NetworkX graph
k : int, optional
core_number : dictionary, optional
|
---|---|
Returns : | G : NetworkX graph
|
Raises : | NetworkXError :
|
See also
Notes
This definition of k-crust is different than the definition in [R173]. The k-crust in [R173] is equivalent to the k+1 crust of this algorithm.
Not implemented for graphs with parallel edges or self loops.
For directed graphs the node degree is defined to be the in-degree + out-degree.
Graph, node, and edge attributes are copied to the subgraph.
References
[R173] | (1, 2, 3) A model of Internet topology using k-shell decomposition Shai Carmi, Shlomo Havlin, Scott Kirkpatrick, Yuval Shavitt, and Eran Shir, PNAS July 3, 2007 vol. 104 no. 27 11150-11154 http://www.pnas.org/content/104/27/11150.full |