|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.irs.jam.PlanRuntimeState | +--com.irs.jam.PlanRuntimeGoalState
Represents a subgoaling construct
Field Summary | |
protected Goal |
_subgoal
|
Fields inherited from class com.irs.jam.PlanRuntimeState |
_substate, _thisConstruct, PLAN_CONSTRUCT_COMPLETE, PLAN_CONSTRUCT_FAILED, PLAN_CONSTRUCT_INCOMP |
Constructor Summary | |
PlanRuntimeGoalState(PlanSimpleConstruct se)
Constructor w/ goal specifier as argument |
Method Summary | |
int |
execute(Binding b,
Goal thisGoal,
Goal prevGoal)
Find an applicable plan if necessary and execute the plan if it exists. |
Goal |
getSubgoal()
|
void |
intend(APLElement ae)
Add an intention to the agent's Intention Structure |
Goal |
setSubgoal(Goal g)
|
Methods inherited from class com.irs.jam.PlanRuntimeState |
getSubstate, getThisConstruct, setSubstate, setThisConstruct |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Goal _subgoal
Constructor Detail |
public PlanRuntimeGoalState(PlanSimpleConstruct se)
Method Detail |
public Goal getSubgoal()
public Goal setSubgoal(Goal g)
public int execute(Binding b, Goal thisGoal, Goal prevGoal)
execute
in class PlanRuntimeState
public void intend(APLElement ae)
intend
in class PlanRuntimeState
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |