I want to create a graph with specified degrees, for example : 5 vertices with degree = 1 & 4 vertices with degree = 2 & 3 vertices with degree = 3.
How can I do that ? I want the equivalent of configuration_model() of python.
could anyone help me ?
You'll need to implement this yourself, or find an existing implementation elsewhere; JUNG does not provide a graph factory for this kind of specification.
Note that not all such specifications are valid.
ok, thank you.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.