de.cau.cs.kieler.dataflow.ui.wizards
Class RandomDataflowCreator
java.lang.Object
de.cau.cs.kieler.dataflow.ui.wizards.RandomDataflowCreator
public class RandomDataflowCreator
- extends Object
Creator for dataflow models.
- Rating

Method Summary |
DataflowModel |
createModel(int nodes,
int minConnections,
int maxConnections,
float hierarchyProb)
Creates a random dataflow model according to given parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomDataflowCreator
public RandomDataflowCreator()
createModel
public DataflowModel createModel(int nodes,
int minConnections,
int maxConnections,
float hierarchyProb)
- Creates a random dataflow 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 nodehierarchyProb
- probability of new hierarchy level
- Returns:
- a random dataflow model