public abstract class AbstractGraphGenerator<T,A> extends java.lang.Object implements GraphGenerator<T,A>
| Constructor and Description |
|---|
AbstractGraphGenerator() |
AbstractGraphGenerator(int seed)
Constructor for an AbstractGraphGenerator, which implements versioning, with a given seed.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
nextID()
Creates the next id for a node.
|
void |
reset(int seed)
Creates a new Random generator with the given seed
|
void |
setNodeNumbering(boolean nodeNumbering)
Method which enables or dissables the nodenumbering and therefore directly influences the id of nodes
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGoalTester, getRootGenerator, getSuccessorGenerator, isSelfContainedpublic AbstractGraphGenerator()
public AbstractGraphGenerator(int seed)
seed - The seed for the random generator, which generates the ids.public void setNodeNumbering(boolean nodeNumbering)
setNodeNumbering in interface GraphGenerator<T,A>nodeNumbering - true to enable nodenumbering false elseprotected int nextID()
public void reset(int seed)
seed - The seed for the random generator.