edu.cmu.cs.coral.icf.plan_based.planners.pip
Class Choice

java.lang.Object
  |
  +--edu.cmu.cs.coral.icf.plan_based.planners.pip.Choice
Direct Known Subclasses:
BindingSelectionChoice, GoalNodeExpansionChoice, OpApplicationChoice, OperatorSelectionChoice, OpNodeExpansionChoice

public abstract class Choice
extends java.lang.Object

Represents a choice that can be made.

Since:
ICF 0.0
Version:
$Id$

Field Summary
static int BINDING_SELECTION
          the type code for the selection of the bindings for an operator
static int GOAL_NODE_EXPANSION
          the type code for a goal node expansion
static int OP_APPLICATION
          the type code for an operator application
static int OP_NODE_EXPANSION
          the type code for a operator node expansion
static int OPERATOR_SELECTION
          the type code for the selection of an operator
private  int type
          the type of this choice
 
Constructor Summary
Choice(int type)
          Constructs a new choice of the specified type.
 
Method Summary
 int getType()
          Gets the type of this choice.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

OP_APPLICATION

public static final int OP_APPLICATION
the type code for an operator application
Since:
ICF 0.0

GOAL_NODE_EXPANSION

public static final int GOAL_NODE_EXPANSION
the type code for a goal node expansion
Since:
ICF 0.0

OP_NODE_EXPANSION

public static final int OP_NODE_EXPANSION
the type code for a operator node expansion
Since:
ICF 0.0

OPERATOR_SELECTION

public static final int OPERATOR_SELECTION
the type code for the selection of an operator
Since:
ICF 0.0

BINDING_SELECTION

public static final int BINDING_SELECTION
the type code for the selection of the bindings for an operator
Since:
ICF 0.0

type

private int type
the type of this choice
Since:
ICF 0.0
Constructor Detail

Choice

public Choice(int type)
Constructs a new choice of the specified type.
Parameters:
type - the kind of choice
Since:
ICF 0.0
Method Detail

getType

public int getType()
Gets the type of this choice.
Returns:
the kind of choice this represents
Since:
ICF 0.0