net.sf.opendse.generator
Class Generator
java.lang.Object
net.sf.opendse.generator.Generator
- Direct Known Subclasses:
- ApplicationGenerator, ArchitectureGenerator, MappingGenerator
public abstract class Generator
- extends java.lang.Object
|
Field Summary |
protected java.util.Random |
random
|
|
Constructor Summary |
Generator(java.util.Random random)
|
|
Method Summary |
void |
annotateAttribute(net.sf.opendse.model.Graph<?,?> graph,
java.lang.String attribute,
int min,
int max,
Generator.Type type)
|
int |
rand(int min,
int max)
|
|
rand(java.util.List<V> list)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
random
protected final java.util.Random random
Generator
public Generator(java.util.Random random)
rand
public int rand(int min,
int max)
rand
public <V> V rand(java.util.List<V> list)
annotateAttribute
public void annotateAttribute(net.sf.opendse.model.Graph<?,?> graph,
java.lang.String attribute,
int min,
int max,
Generator.Type type)