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, setUseInternalGraph
addAttributeSink, 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, sendStepBegins
public 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()
Generator
Generator.nextEvents()
method to add elements to the graph.public boolean nextEvents()
Generator
Copyright © 2015. All rights reserved.