Name for removing all leaves on a graph to leave only cycles

377 Views Asked by At

Is there a name for the process of iteratively removing all leaves from a graph?

1

There are 1 best solutions below

4
On BEST ANSWER

This is known as finding the $2$-core of a graph. In general, the $k$-core of a graph is the subgraph obtained by, iteratively, deleting all vertices with degree less than $k$.

Sometimes (as Wikipedia does) we require the $k$-core to be connected, in which case there may be multiple $2$-cores, one for each connected component of the graph.