|
|||||||||
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.PlannerProblem
Represents a problem for a Planner.
Field Summary | |
private PlannerGoal |
goal
The goal to plan for. |
private PlannerState |
initialState
The initial state of the world. |
private PlannerObjectTypeMap |
typeToObjectMap
A mapping from object type to objects in the world. |
Constructor Summary | |
PlannerProblem()
Construct an empty planning problem. |
Method Summary | |
PlannerObjectTypeMap |
accessTypeToObjectMap()
Accesses the map from types to objects. |
Goal |
getGoal()
Gets the goal that needs to be achieved. |
State |
getInitialState()
Gets the known initial state of the world. |
void |
setGoal(PlannerGoal goal)
Sets the goal for this planning problem. |
void |
setInitialState(PlannerState initial_state)
Sets the initial state for the planning problem. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private PlannerObjectTypeMap typeToObjectMap
private PlannerState initialState
private PlannerGoal goal
Constructor Detail |
public PlannerProblem()
Method Detail |
public Goal getGoal()
public State getInitialState()
public PlannerObjectTypeMap accessTypeToObjectMap()
public void setInitialState(PlannerState initial_state)
initial_state
- the initial state of the planning problempublic void setGoal(PlannerGoal goal)
goal
- the goal for this planning problem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |