KCoreComponents
KCoreComponents[g,k]
gives the k-core components of the underlying simple graph of g.
KCoreComponents[g,k,"In"]
gives the k-core components with vertex in-degrees at least k.
KCoreComponents[g,k,"Out"]
gives the k-core components with vertex out-degrees at least k.
KCoreComponents[{vw,…},…]
uses rules vw to specify the graph g.
Details
- A k-core component is a maximal weakly connected subgraph in which all vertices have degree at least k.
- KCoreComponents returns a list of components {c1,c2,…}, where each component ci is given as a list of vertices.
- For a directed graph g, KCoreComponents[g,k] gives the k-core components of the underlying undirected simple graph of g.
- KCoreComponents works with undirected graphs, directed graphs, multigraphs, and mixed graphs.
Examples
open allclose allBasic Examples (2)
Scope (10)
KCoreComponents works with undirected graphs:
KCoreComponents finds core components of any size:
Find k-core components with vertex in-degrees at least k:
Find k-core components with vertex out-degrees at least k:
Use rules to specify the graph:
KCoreComponents gives an empty list if there is no k-core:
KCoreComponents works with large graphs:
Applications (3)
Properties & Relations (8)
Find k-core components by repeatedly removing vertices of out-degree less than k:
No more vertices are removed by further iteration:
Use ConnectedComponents to obtain the components of the k-core:
The obtained k-cores of undirected graphs are connected:
A vertex in a k-core component ci has at least k neighbors in ci:
For an undirected graph, the vertex in-degree and out-degree are equal to the vertex degree:
The k-core vertex in-degree and out-degree components are equal to the k-core components:
The maximum clique of size is contained in a -core component:
A k-core component is contained in a (k-1)-core component:
The adjacency matrix of a k-core component has at least k nonzero entries in each row:
The adjacency matrix of a k-core in-degree component has at least k nonzero entries in each column:
The adjacency matrix of a k-core out-degree component has at least k nonzero entries in each row:
Text
Wolfram Research (2010), KCoreComponents, Wolfram Language function, https://reference.wolfram.com/language/ref/KCoreComponents.html (updated 2015).
CMS
Wolfram Language. 2010. "KCoreComponents." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/KCoreComponents.html.
APA
Wolfram Language. (2010). KCoreComponents. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KCoreComponents.html