Graph Degeneracy Calculator

k-degenerate core number

CalculatorsFreeNo Signup
4.6(239 reviews)
All Tools

Loading tool...

About Graph Degeneracy Calculator

A degeneracy calculator computing d(G): smallest k such that G is k-degenerate (every subgraph has vertex of degree ≤k). Equals max k-core number. d = max over subgraphs of min degree. O(n+m) algorithm via iterative minimum degree removal. Client-side.

Graph Degeneracy Calculator Features

  • d(G) value
  • k-core decomp
  • O(n+m) algo
  • Coloring bound
  • Common graphs
Degeneracy d(G): smallest k such that every subgraph has a vertex of degree ≤ k. Equivalent: maximum k such that G has a non-empty k-core. d(planar) ≤ 5. χ(G) ≤ d(G)+1. Computable in O(n+m) time. d = col(G)-1 (coloring number).

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

  1. 1Select graph.
  2. 2Compute degeneracy.
  3. 3Find k-cores.
  4. 4Get removal order.
  5. 5Apply coloring bound.

Graph Degeneracy Calculator — Frequently Asked Questions

How does degeneracy relate to arboricity?+

a(G) ≤ d(G) ≤ 2a(G)-1. Arboricity a = min forest cover. Degeneracy d = min-degree based. They measure sparsity differently but are within factor 2. Planar: d ≤ 5, a ≤ 3.

What are k-cores used for?+

Social networks: find influential groups (high k-core). Biology: protein interaction networks. Internet: AS-level topology analysis. Dense subgraph detection. Community detection. Widely used in network science.

Is degeneracy the same as treewidth?+

No! d(G) ≤ tw(G) is false in general. But tw(G) ≤ d(G)·some function. They measure different structural properties. Degeneracy is about sparse subgraphs; treewidth about tree-like structure.

Share this tool: