Package edu.uky.ai.planning.pg
Class SubgraphSpaceNode
java.lang.Object
edu.uky.ai.planning.pg.SubgraphSpaceNode
- Direct Known Subclasses:
SubgraphSpaceRoot
This class represents a specific subgraph of a plan graph during the search
for a subgraph which represents a solution to the problem.
- Author:
- Stephen G. Ware
-
Field Summary
FieldsModifier and TypeFieldDescriptionThis node's parentfinal Subgraph
A subset of nodes from the plan graph -
Method Summary
-
Field Details
-
parent
This node's parent -
subgraph
A subset of nodes from the plan graph
-
-
Method Details
-
toString
-
getRoot
Returns the root node of this search space.- Returns:
- the root node
-
expand
Creates a child subgraph space node (a node for which this node is the parent) with the given subgraph.- Parameters:
subgraph
- a subset of nodes from the plan graph- Returns:
- the child node
-