|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wilmascope.graphgen.GraphGenerator
org.wilmascope.graphgen.plugin.ClusteredGraphGenerator
public class ClusteredGraphGenerator
Generates a random clustered graph with a specified number of nodes and edges with random node positions in either 2 or 3 dimensions.
Constructor Summary | |
---|---|
ClusteredGraphGenerator()
creates controls |
Method Summary | |
---|---|
void |
generate(GraphControl gc)
Generates a graph with a given number of clusters of a given size |
javax.swing.JPanel |
getControls()
|
java.lang.String |
getName()
|
Methods inherited from class org.wilmascope.graphgen.GraphGenerator |
---|
addRandomNode, getEdgeView, getNodeView, setView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusteredGraphGenerator()
Method Detail |
---|
public java.lang.String getName()
public void generate(GraphControl gc)
generate
in class GraphGenerator
gc
- the instance of GraphControl inwhich the graph will be generatedGraphGenerator.generate(org.wilmascope.control.GraphControl)
public javax.swing.JPanel getControls()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |