public abstract class Generator
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Generator.Type |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Random |
random |
| Constructor and Description |
|---|
Generator(java.util.Random random) |
| Modifier and Type | Method and Description |
|---|---|
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) |
<V> V |
rand(java.util.List<V> list) |
public int rand(int min,
int max)
public <V> V rand(java.util.List<V> list)
public void annotateAttribute(net.sf.opendse.model.Graph<?,?> graph,
java.lang.String attribute,
int min,
int max,
Generator.Type type)