|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.irs.jam.Action | +--com.irs.jam.GoalAction | +--com.irs.jam.MaintainGoalAction
A built-in JAM primitive action for perpetually keeping a state expression true.
Fields inherited from class com.irs.jam.GoalAction |
_by, _goal, _interpreter, _notBy, _utility |
Fields inherited from class com.irs.jam.Action |
_actType, ACT_ACHIEVE, ACT_ASSERT, ACT_ASSIGN, ACT_CANNOT_EXECUTE, ACT_FACT, ACT_FAIL, ACT_FAILED, ACT_GOAL_ACTION, ACT_LOAD, ACT_MAINTAIN, ACT_OBJECT, ACT_PARSE, ACT_PERFORM, ACT_POST, ACT_PRIMITIVE, ACT_QUERY, ACT_RETRACT, ACT_RETRIEVE, ACT_SUCCEEDED, ACT_TEST, ACT_UNDEFINED, ACT_UNPOST, ACT_UPDATE, ACT_WAIT |
Constructor Summary | |
MaintainGoalAction(java.lang.String name,
Relation goal,
Expression utility,
Interpreter interpreter)
Primary constructor |
Method Summary | |
void |
format(java.io.PrintStream s,
Binding b)
Display information about the goal |
boolean |
isExecutableAction()
|
Methods inherited from class com.irs.jam.GoalAction |
evalUtility, execute, formatArgs, getBy, getGoal, getNotBy, getRelation, getUtility, isEligible, print, setBy, setNotBy, setRelation, setUtility |
Methods inherited from class com.irs.jam.Action |
getName, getTraceFile, getTraceLine, getType, setTrace, setTraceFile, setTraceLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MaintainGoalAction(java.lang.String name, Relation goal, Expression utility, Interpreter interpreter)
Method Detail |
public boolean isExecutableAction()
isExecutableAction
in class GoalAction
public void format(java.io.PrintStream s, Binding b)
format
in class GoalAction
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |