public class BoidGenerator
extends org.graphstream.stream.SourceBase
implements org.graphstream.algorithm.generator.Generator
| Constructor and Description |
|---|
BoidGenerator()
Create a new boid generator with no configuration.
|
BoidGenerator(String dgsConfiguration)
Create a new boid generator specifying a configuration to load when
generation starts.
|
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
end() |
BoidGraph |
getBoidGraph()
Get the boid graph used by this generator to produce events.
|
boolean |
nextEvents() |
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, sendStepBeginspublic BoidGenerator()
public BoidGenerator(String dgsConfiguration)
dgsConfiguration - the configurationpublic BoidGraph getBoidGraph()
begin() and end().public void begin()
begin in interface org.graphstream.algorithm.generator.Generatorpublic void end()
end in interface org.graphstream.algorithm.generator.Generatorpublic boolean nextEvents()
nextEvents in interface org.graphstream.algorithm.generator.GeneratorCopyright © 2015. All rights reserved.