|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.graphstream.stream.SourceBase
org.graphstream.algorithm.generator.BaseGenerator
org.graphstream.algorithm.generator.LCFGenerator
public class LCFGenerator
Build a graph using a lcf notation. Source : Wikipedia
| Nested Class Summary | |
|---|---|
static class |
LCFGenerator.LCF
Model a LCF notation. |
| Nested classes/interfaces inherited from class org.graphstream.stream.SourceBase |
|---|
org.graphstream.stream.SourceBase.ElementType |
| Constructor Summary | |
|---|---|
LCFGenerator(LCFGenerator.LCF lcf,
int initialRingSize,
boolean canBeExtended)
Build a new graph generator using a LCF notation. |
|
| Method Summary | |
|---|---|
void |
begin()
Begin the graph generation. |
boolean |
nextEvents()
Perform the next step in generating the graph. |
| Methods inherited from class org.graphstream.algorithm.generator.BaseGenerator |
|---|
addEdgeAttribute, addEdgeLabels, addNodeAttribute, addNodeLabels, end, isUsingInternalGraph, removeEdgeAttribute, removeNodeAttribute, setDirectedEdges, setEdgeAttributesRange, setNodeAttributesRange, setRandomSeed, setUseInternalGraph |
| Methods inherited from class org.graphstream.stream.SourceBase |
|---|
addAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, removeAttributeSink, removeElementSink, removeSink, sendAttributeChangedEvent, sendAttributeChangedEvent, sendEdgeAdded, sendEdgeAdded, sendEdgeRemoved, sendEdgeRemoved, sendGraphCleared, sendGraphCleared, sendNodeAdded, sendNodeAdded, sendNodeRemoved, sendNodeRemoved, sendStepBegins, sendStepBegins |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.graphstream.stream.Source |
|---|
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink |
| Constructor Detail |
|---|
public 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() call| Method Detail |
|---|
public void begin()
GeneratorGenerator.nextEvents() method to add elements to the graph.
public boolean nextEvents()
Generator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||