How to Use
Select graph:
- d: Degeneracy
- k-cores: Nested cores
- Order: Removal sequence
k-Core Decomposition
k-core: maximal subgraph with minimum degree ≥ k. The cores are nested: 0-core ⊇ 1-core ⊇ ... ⊇ d-core. The d-core is the 'densest' part. Social network analysis uses cores to find cohesive groups.
Linear-Time Algorithm
Iteratively remove minimum-degree vertex: the maximum degree removed is d(G). This gives a d(G)+1 coloring (greedy on reverse order). O(n+m) using bucket queue. Practical and widely implemented.
Step-by-Step Instructions
- 1Select graph.
- 2Compute degeneracy.
- 3Find k-cores.
- 4Get removal order.
- 5Apply coloring bound.