de.cau.cs.kieler.dataflow.ui.wizards
Class RandomDataflowCreator

java.lang.Object
  extended by de.cau.cs.kieler.dataflow.ui.wizards.RandomDataflowCreator

public class RandomDataflowCreator
extends Object

Creator for dataflow models.

Rating red

Constructor Summary
RandomDataflowCreator()
           
 
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
 

Constructor Detail

RandomDataflowCreator

public RandomDataflowCreator()
Method Detail

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 model
minConnections - minimal number of outgoing connections per node
maxConnections - maximal number of outgoing connections per node
hierarchyProb - probability of new hierarchy level
Returns:
a random dataflow model