public class LCFGenerator extends BaseGenerator
| Modifier and Type | Class and Description |
|---|---|
static class |
LCFGenerator.LCF
Model a LCF notation.
|
| Constructor and Description |
|---|
LCFGenerator(LCFGenerator.LCF lcf,
int initialRingSize,
boolean canBeExtended)
Build a new graph generator using a LCF notation.
|
| 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 LCFGenerator(LCFGenerator.LCF lcf, int initialRingSize, boolean canBeExtended)
lcf - the lcf notation describing the graphinitialRingSize - initial amount of nodescanBeExtended - true if the graph can be extended, ie. if a node can be added
in a new #nextEvents() callpublic void begin()
GeneratorGenerator.nextEvents() method to add elements to the graph.public boolean nextEvents()
GeneratorCopyright © 2015. All rights reserved.