public class LifeGenerator extends BaseGenerator
Constructor and Description |
---|
LifeGenerator(java.awt.image.BufferedImage cellsData) |
LifeGenerator(java.io.InputStream in) |
LifeGenerator(int width,
int height,
boolean[] data) |
LifeGenerator(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
void |
begin()
Begin the graph generation.
|
int |
getHeight() |
int |
getWidth() |
boolean |
isCoordsPushed() |
boolean |
isTore() |
boolean |
nextEvents()
Perform the next step in generating the graph.
|
void |
setPushCoords(boolean on) |
void |
setTore(boolean on) |
addEdgeAttribute, addEdgeAttribute, addEdgeAttribute, addEdgeLabels, addNodeAttribute, addNodeAttribute, addNodeAttribute, addNodeLabels, end, isUsingInternalGraph, removeEdgeAttribute, removeNodeAttribute, setDirectedEdges, 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 LifeGenerator(int width, int height, boolean[] data)
public LifeGenerator(java.lang.String path) throws java.io.IOException
java.io.IOException
public LifeGenerator(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public LifeGenerator(java.awt.image.BufferedImage cellsData)
public void begin()
Generator
Generator.nextEvents()
method to add elements to the graph.public boolean nextEvents()
Generator
public void setTore(boolean on)
public boolean isTore()
public void setPushCoords(boolean on)
public boolean isCoordsPushed()
public int getWidth()
public int getHeight()