|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.cmu.cs.coral.icf.plan_based.planners.PlannerObject
Represents an object in the world that is known to the Planner.
| Field Summary | |
private java.lang.String |
name
The name of the object. |
private PlannerObjectType |
type
The type of the object. |
| Constructor Summary | |
PlannerObject()
Constructs a new PlannerObject with null name and type |
|
PlannerObject(java.lang.String name,
PlannerObjectType type)
Constructs a new PlannerObject with the specified name and type |
|
| Method Summary | |
int |
compareTo(PlannerObject obj)
Compares this PlannerObject to the one passed in |
java.lang.String |
getName()
Gets the name of the object. |
PlannerObjectType |
getType()
Gets the type of the object |
void |
setName(java.lang.String new_name)
Sets the name of the object. |
void |
setType(PlannerObjectType new_type)
Sets the type of the object |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private java.lang.String name
private PlannerObjectType type
| Constructor Detail |
public PlannerObject()
public PlannerObject(java.lang.String name,
PlannerObjectType type)
name - the name of the objecttype - the type of the object| Method Detail |
public int compareTo(PlannerObject obj)
obj - the PlannerObject to compare topublic void setName(java.lang.String new_name)
new_name - the new name for the objectpublic void setType(PlannerObjectType new_type)
new_type - the new type of the objectpublic java.lang.String getName()
public PlannerObjectType getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||