public class AutomatonGraphs extends Object
| Modifier and Type | Method and Description |
|---|---|
static AutomatonGraph |
createRectangularAutomatonGraph(int numberOfColumns,
int numberOfRows) |
static Map<String,ChemicalEntity<?>> |
generateMapOfEntities(AutomatonGraph graph)
Creates and returns a map that contains all chemical entities that are present in the given graph as values and
with the name of the entity as key.
|
static Membrane |
splitRectangularGraphWithMembrane(AutomatonGraph graph,
GridCoordinateConverter converter,
EnclosedCompartment innerSection,
CellSection outerSection) |
static AutomatonGraph |
useStructureFrom(UndirectedGraph undirectedGraph)
Copies the structure (nodes and edges) of an
UndirectedGraph to a AutomatonGraph. |
public static Map<String,ChemicalEntity<?>> generateMapOfEntities(AutomatonGraph graph)
graph - A graph with speciespublic static AutomatonGraph createRectangularAutomatonGraph(int numberOfColumns, int numberOfRows)
public static AutomatonGraph useStructureFrom(UndirectedGraph undirectedGraph)
UndirectedGraph to a AutomatonGraph. No new data is
generated. Indices are persistent. Both Graphs are independently modifiable.undirectedGraph - The graph to be castpublic static Membrane splitRectangularGraphWithMembrane(AutomatonGraph graph, GridCoordinateConverter converter, EnclosedCompartment innerSection, CellSection outerSection)
Copyright © 2017. All rights reserved.