Вопрос

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