문제

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?
도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top