public class LobsterGenerator extends BaseGenerator
| Constructor and Description |
|---|
LobsterGenerator()
Main constructor to a Lobster generator.
|
LobsterGenerator(int maxDistance)
Constructor allowing to customize maximum distance to the root path.
|
LobsterGenerator(int maxDistance,
int maxDegree)
Constructor allowing to customize maximum distance to the root path and
maximum degree of nodes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Begin the graph generation.
|
boolean |
nextEvents()
Perform the next step in generating the graph.
|
addEdgeAttribute, addEdgeLabels, addNodeAttribute, addNodeLabels, end, isUsingInternalGraph, removeEdgeAttribute, removeNodeAttribute, setDirectedEdges, setEdgeAttributesRange, setNodeAttributesRange, setRandomSeed, setUseInternalGraphaddAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, removeAttributeSink, removeElementSink, removeSink, sendAttributeChangedEvent, sendAttributeChangedEvent, sendEdgeAdded, sendEdgeAdded, sendEdgeAttributeAdded, sendEdgeAttributeAdded, sendEdgeAttributeChanged, sendEdgeAttributeChanged, sendEdgeAttributeRemoved, sendEdgeAttributeRemoved, sendEdgeRemoved, sendEdgeRemoved, sendGraphAttributeAdded, sendGraphAttributeAdded, sendGraphAttributeChanged, sendGraphAttributeChanged, sendGraphAttributeRemoved, sendGraphAttributeRemoved, sendGraphCleared, sendGraphCleared, sendNodeAdded, sendNodeAdded, sendNodeAttributeAdded, sendNodeAttributeAdded, sendNodeAttributeChanged, sendNodeAttributeChanged, sendNodeAttributeRemoved, sendNodeAttributeRemoved, sendNodeRemoved, sendNodeRemoved, sendStepBegins, sendStepBeginspublic LobsterGenerator()
public LobsterGenerator(int maxDistance,
int maxDegree)
maxDistance - max distance to root pathmaxDegree - max degree of nodespublic LobsterGenerator(int maxDistance)
maxDistance - max distance to root pathpublic void begin()
GeneratorGenerator.nextEvents() method to add elements to the graph.public boolean nextEvents()
GeneratorCopyright © 2015. All rights reserved.