vs.poplanner
Class PoPlanner

java.lang.Object
  extended by vs.poplanner.PoPlanner
Direct Known Subclasses:
DummyPlanner

public class PoPlanner
extends java.lang.Object

Interface for Partial Order Planner

Author:
kruizingaEE Created on 3-may-2007

Constructor Summary
PoPlanner(java.lang.String character)
           
 
Method Summary
 java.util.Vector<java.lang.String> getExecutableEvents()
          Retrieves executable events
 java.util.Vector<java.lang.String> getExecutableFramingOperators()
          Retrieves executable framing operators (i.e., framing operators that do not depend on the execution of earlier steps in the plan)
 java.util.Vector<java.lang.String> getExecutableInferenceOperators()
          Retrieves executable inference operators (i.e., inference operators that do not depend on the execution of earlier steps in the plan)
 java.util.Vector<java.lang.String> getExecutableOperators()
          Retrieves the operators from the plan that are ready for execution (i.e., do not depend on the execution of earlier steps in the plan)
 java.util.Vector<PlanLink> getLinks()
          Retrieves all causal links from the plan
 java.util.Vector<PlanOrdering> getOrderings()
          Retrieves all orderings from the plan
 java.lang.String getPlan()
          Return the plan in SWI-Prolog representation.
 java.util.Vector<PlanStep> getSteps()
          Retrieves all steps from the plan
 boolean plan()
          Creates and stores a plan for given goals
 boolean planFinished()
           
 void setGoals(java.lang.String goals)
          Sets the goals for the planner (a Prolog list of conditions)
 void setPlan(java.lang.String plan)
          Explicitly set the plan of this planner (use with care)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoPlanner

public PoPlanner(java.lang.String character)
Method Detail

getExecutableEvents

public java.util.Vector<java.lang.String> getExecutableEvents()
Retrieves executable events

Returns:
the executable events

getExecutableFramingOperators

public java.util.Vector<java.lang.String> getExecutableFramingOperators()
Retrieves executable framing operators (i.e., framing operators that do not depend on the execution of earlier steps in the plan)

Returns:
the executable framing operators

getExecutableInferenceOperators

public java.util.Vector<java.lang.String> getExecutableInferenceOperators()
Retrieves executable inference operators (i.e., inference operators that do not depend on the execution of earlier steps in the plan)

Returns:
the executable inference operators

getExecutableOperators

public java.util.Vector<java.lang.String> getExecutableOperators()
Retrieves the operators from the plan that are ready for execution (i.e., do not depend on the execution of earlier steps in the plan)


getLinks

public java.util.Vector<PlanLink> getLinks()
Retrieves all causal links from the plan


getOrderings

public java.util.Vector<PlanOrdering> getOrderings()
Retrieves all orderings from the plan


getPlan

public java.lang.String getPlan()
Return the plan in SWI-Prolog representation.


getSteps

public java.util.Vector<PlanStep> getSteps()
Retrieves all steps from the plan


plan

public boolean plan()
Creates and stores a plan for given goals


planFinished

public boolean planFinished()

setGoals

public void setGoals(java.lang.String goals)
Sets the goals for the planner (a Prolog list of conditions)


setPlan

public void setPlan(java.lang.String plan)
Explicitly set the plan of this planner (use with care)

Parameters:
plan - the plan for this planner