Domanda

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?
È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top