de.cau.cs.kieler.graphs.util
Class RandomGraphGenerator
java.lang.Object
de.cau.cs.kieler.graphs.util.RandomGraphGenerator
public class RandomGraphGenerator
- extends Object
A generator class for graph models.
- Rating

Method Summary |
Node |
createModel(int nodes,
int minConnections,
int maxConnections,
float thehierarchyProb,
float hyperNodeProb,
boolean directed,
boolean usePorts)
Creates a random graph model according to given parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomGraphGenerator
public RandomGraphGenerator()
createModel
public Node createModel(int nodes,
int minConnections,
int maxConnections,
float thehierarchyProb,
float hyperNodeProb,
boolean directed,
boolean usePorts)
- Creates a random graph model according to given parameters.
- Parameters:
nodes
- number of nodes in the modelminConnections
- minimal number of outgoing connections per nodemaxConnections
- maximal number of outgoing connections per nodethehierarchyProb
- probability of new hierarchy level
- Returns:
- a random graph model