public abstract class GraphLayer extends Object
| Constructor and Description | 
|---|
| GraphLayer()Creates a new instance of GraphLayer | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | add(GraphNode node)Adds a node to the layer | 
| protected void | generateMutualExclusions()Identifies and marks the level's mutually exclusive actions or literals | 
| protected GraphNode | get(GraphNodeObject node)Returns a requested node from the layer | 
| protected GraphNode | get(int index)Returns a requested node from the layer | 
| protected int | indexOf(GraphNode node)Takes a GraphNode object parameter and returns the index of an equivalent
 object that is already in the layer if one exists, or -1 if not | 
| protected int | indexOf(GraphNodeObject node)Takes a GraphNodeObject parameter and returns the index of an equivalent
 object that is already in the layer if one exists, or -1 if not | 
| int | size()Returns the number of nodes in the layer | 
| String | toString()Converts the GraphNodeObject to a String | 
protected void generateMutualExclusions()
protected void add(GraphNode node)
node - public int size()
protected GraphNode get(int index)
index - protected GraphNode get(GraphNodeObject node)
node - protected int indexOf(GraphNode node)
node - GraphNode object whose existence in the graph layer is being determinedprotected int indexOf(GraphNodeObject node)
node - GraphNodeObject whose existence in the graph layer is being determined