Question

I am doing some Graph Theory analysis using the Java Jung 2.01 graph package. I am looking for some sort of function that will give me a degree sequence of the graph. I have been poking around the Jung documentation but do not see anything.

  1. How can I retrieve the degree sequence of a graph?
Was it helpful?

Solution

Currently, JUNG does not have such functionality. You could however loop over all nodes, retrieve all degrees and sort them accordingly. You could suggest it to the developing community over at their forums.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top