Class SubgraphSpaceNode

java.lang.Object
edu.uky.ai.planning.pg.SubgraphSpaceNode
Direct Known Subclasses:
SubgraphSpaceRoot

public class SubgraphSpaceNode extends Object
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 Details

    • parent

      public SubgraphSpaceNode parent
      This node's parent
    • subgraph

      public final Subgraph subgraph
      A subset of nodes from the plan graph
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRoot

      public SubgraphSpaceRoot getRoot()
      Returns the root node of this search space.
      Returns:
      the root node
    • expand

      public SubgraphSpaceNode expand(Subgraph subgraph)
      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