I am looking for a way to calculate the degeneracy of a given graph. The wikipedia article describes the method, but it also stores the degeneracy order, and I think I saw a simpler algorithm somewhere online weeks ago, but I can. Don't find it now. I am wondering if there is a more efficient way to calculate graph degeneracy if I am not interested in maintaining the order of graph degeneracy
I use networkx and Python, if that matters at all.
Thank!
source
share