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$

Field Summary
private  java.util.Vector actionSchema
          The operators in the domain.
private  PlannerObjectType rootType
          The type of the root of the type hierarchy.
 
Constructor Summary
PlannerDomain()
          Construct a new empty PlannerDomain.
 
Method Summary
 void addActionSchema(PlannerActionSchema schema)
          Add an operator to the domain.
 java.util.Collection getActionSchema()
          Get the operators in the domain.
 PlannerObjectType getRootObjectType()
          Gets the root type of the type hierarchy.
 void setRootObjectType(PlannerObjectType root)
          Sets the root type of the type hierarchy
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PlannerDomain

public PlannerDomain()
Construct a new empty PlannerDomain.
Since:
ICF 0.0
Method Detail

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