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

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

public class Variable
extends java.lang.Object

Represents a variable in an action schema, i.e. one of the formal parameters of the action schema.

Since:
ICF 0.0
Version:
$Id$

Field Summary
private  java.lang.String name
          The name of this Variable.
private  PlannerObjectType type
          The type of this Variable.
 
Constructor Summary
Variable(java.lang.String name, PlannerObjectType type)
          Constructs a new variable instance.
 
Method Summary
 java.lang.String getName()
          Gets the name of this variable.
 PlannerObjectType getType()
          Gets the type of this variable.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name
The name of this Variable.
Since:
ICF 0.0

type

private PlannerObjectType type
The type of this Variable.
Since:
ICF 0.0
Constructor Detail

Variable

public Variable(java.lang.String name,
                PlannerObjectType type)
Constructs a new variable instance.
Parameters:
name - the variable name
type - the type of objects that this variable's value can take on
Since:
ICF 0.0
Method Detail

getName

public java.lang.String getName()
Gets the name of this variable.
Returns:
the name of this variable
Since:
ICF 0.0

getType

public PlannerObjectType getType()
Gets the type of this variable.
Returns:
the type of this variable
Since:
ICF 0.0