edu.cmu.cs.coral.icf.plan_based.planners
Class PlannerDomain
java.lang.Object
|
+--edu.cmu.cs.coral.icf.plan_based.planners.PlannerDomain
- public class PlannerDomain
- extends java.lang.Object
- implements Domain
Represents a domain for a Planner.
- Since:
- ICF 0.0
- Version:
- $Id$
Constructor Summary |
PlannerDomain()
Construct a new empty PlannerDomain. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
actionSchema
private java.util.Vector actionSchema
- The operators in the domain.
- Since:
- ICF 0.0
rootType
private PlannerObjectType rootType
- The type of the root of the type hierarchy.
- Since:
- ICF 0.0
PlannerDomain
public PlannerDomain()
- Construct a new empty PlannerDomain.
- Since:
- ICF 0.0
getActionSchema
public java.util.Collection getActionSchema()
- Get the operators in the domain.
- Returns:
- the operators(action schema) in the domain
- Since:
- ICF 0.0
addActionSchema
public void addActionSchema(PlannerActionSchema schema)
- Add an operator to the domain.
- Parameters:
schema
- the action schema(operator) to add- Since:
- ICF 0.0
getRootObjectType
public PlannerObjectType getRootObjectType()
- Gets the root type of the type hierarchy.
- Returns:
- the root of the type hierarchy
- Since:
- ICF 0.0
setRootObjectType
public void setRootObjectType(PlannerObjectType root)
- Sets the root type of the type hierarchy
- Parameters:
root
- the root type of the type hierarchy- Since:
- ICF 0.0