edu.cmu.cs.coral.icf.plan_based.planners.pip
Class HeadPlan

java.lang.Object
  |
  +--edu.cmu.cs.coral.icf.plan_based.planners.pip.HeadPlan

public class HeadPlan
extends java.lang.Object

Represents the part of the plan consisting of applied operators in sequence.

Since:
ICF 0.0
Version:
$Id$

Field Summary
private  java.util.Stack actions
          The sequence of actions in the head plan.
private  PlannerState currentState
          the state of the world reached by starting at the initial state and applying the operators in the head plan
private  java.util.Set statesVisited
          the state that have been passed through by the actions in the head plan (used for state loop detection)
 
Constructor Summary
HeadPlan()
          Constructs an empty head plan.
 
Method Summary
 void initialize(PlannerState initial_state)
          Sets the initial state for the head plan.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

currentState

private PlannerState currentState
the state of the world reached by starting at the initial state and applying the operators in the head plan
Since:
ICF 0.0

statesVisited

private java.util.Set statesVisited
the state that have been passed through by the actions in the head plan (used for state loop detection)
Since:
ICF 0.0

actions

private java.util.Stack actions
The sequence of actions in the head plan.
Since:
ICF 0.0
Constructor Detail

HeadPlan

public HeadPlan()
Constructs an empty head plan.
Since:
ICF 0.0
Method Detail

initialize

public void initialize(PlannerState initial_state)
Sets the initial state for the head plan.
Parameters:
initial_state - the initial state of the world
Since:
ICF 0.0