stumpnum
Stumpnum is a graph-theoretic invariant defined as the minimum number of rounds required to prune all leaves from a finite undirected graph by simultaneously removing all vertices of degree 1 in each round. In each round, every leaf (a vertex of degree 1) is deleted along with its incident edge; the degrees of neighboring vertices are updated, and the process is repeated. If the graph initially has minimum degree at least 2, its stumpnum is 0; if the pruning eliminates the entire graph, the stumpnum equals the number of rounds taken to reach emptiness.
Examples illustrate its behavior. A cycle graph C_n has stumpnum 0, since there are no leaves to
Computation and interpretation. The stumpnum is related to, but distinct from, core decompositions and k-cores. It
See also: leaf-stripping, core decomposition, k-core, degeneracy.