public class PlanningGraph extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | ACTIONLAYER | 
| static int | LITERALLAYER | 
| Constructor and Description | 
|---|
| PlanningGraph()Creates a new instance of PlanningGraph | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addLayer()Adds the appropriate type of layer (action or literal) to the graph | 
| static boolean | containsMutexes(List<GraphNode> nodes)Returns true if an ArrayList of GraphNodes contains mutual exclusions | 
| GraphLayer | getLayer(int index)Returns a reference to a user-requested layer of the graph | 
| int | getLayerType(int level)Returns an enumeration for the type of layer at a specified level of the graph | 
| int | numLayers()Returns the number of layers in the graph | 
| String | toString()Converts the planning graph to a string for printing | 
public static final int LITERALLAYER
public static final int ACTIONLAYER
public int numLayers()
public GraphLayer getLayer(int index)
index - public void addLayer()
public int getLayerType(int level)
level - public static boolean containsMutexes(List<GraphNode> nodes)
nodes -