edu.cmu.cs.coral.icf.plan_based.planners
Class Plan

java.lang.Object
  |
  +--edu.cmu.cs.coral.icf.plan_based.planners.Plan
Direct Known Subclasses:
PIPPlan

public class Plan
extends java.lang.Object

Represents a Plan, i.e. a sequence of actions.

Since:
ICF 0.0
Version:
$Id$

Field Summary
protected  java.util.Vector actions
          The sequence of actions in the Plan.
 
Constructor Summary
Plan()
          Create a new empty plan
 
Method Summary
(package private)  java.util.Vector accessActions()
          Access the sequence of actions in the plan.
 java.util.Vector getActions()
          Gets the sequence of actions in the plan.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

actions

protected java.util.Vector actions
The sequence of actions in the Plan.
Since:
ICF 0.0
Constructor Detail

Plan

public Plan()
Create a new empty plan
Since:
ICF 0.0
Method Detail

getActions

public java.util.Vector getActions()
Gets the sequence of actions in the plan.
Returns:
the sequence of plan steps
Since:
ICF 0.0

accessActions

java.util.Vector accessActions()
Access the sequence of actions in the plan. The plan can be modified by directly modifying this sequence.
Returns:
the sequence of actions in the plan
Since:
ICF 0.0