Class Level

java.lang.Object
edu.uky.ai.planning.pg.Level

public class Level extends Object
Represents a specific level of a PlanGraph, and contains only those nodes which exist at this level.
Author:
Stephen G. Ware
  • Field Details

    • number

      public final int number
      The index of this level
    • previous

      public final Level previous
      The previous level in this graph
    • graph

      protected final PlanGraph graph
      The graph to which this level belongs
    • literals

      public Iterable<LiteralNode> literals
      All literal nodes which exist at this level.
    • steps

      public Iterable<StepNode> steps
      All step nodes which exist at this level.
  • Constructor Details

    • Level

      protected Level(PlanGraph graph, int number)
      Constructs a new level object.
      Parameters:
      graph - the graph in which this level exists
      number - the level's index