|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.irs.jam.Interpreter
The JAM agent's architectural core
Field Summary | |
protected IntentionStructure |
_intentionStructure
|
protected Plan |
_observer
|
protected PlanTable |
_planLibrary
|
protected boolean |
_showActionFailure
|
protected boolean |
_showAPL
|
protected boolean |
_showGoalList
|
protected boolean |
_showIntentionStructure
|
protected boolean |
_showWorldModel
|
protected Functions |
_systemFunctions
|
protected Functions |
_userFunctions
|
protected WorldModelTable |
_worldModel
|
Constructor Summary | |
Interpreter()
Default constructor |
|
Interpreter(java.lang.String[] argv)
|
Method Summary | |
boolean |
getAgentHasMoved()
|
IntentionStructure |
getIntentionStructure()
|
int |
getNumAPLsStat()
|
int |
getNumCyclesStat()
|
int |
getNumGoalsStat()
|
int |
getNumNullAPLsStat()
|
Plan |
getObserver()
|
PlanTable |
getPlanLibrary()
|
SymbolTable |
getRelationTable()
|
boolean |
getShowActionFailure()
|
boolean |
getShowAPL()
|
boolean |
getShowGoalList()
|
boolean |
getShowIntentionStructure()
|
boolean |
getShowWorldModel()
|
Functions |
getSystemFunctions()
|
double |
getTotalUtilityStat()
|
Functions |
getUserFunctions()
|
WorldModelTable |
getWorldModel()
|
protected void |
myResume()
Resume the currently executing thread safely. |
protected void |
myStop()
Stop the currently executing thread safely. |
protected void |
mySuspend()
Suspend the currently executing thread safely. |
void |
parse(java.lang.String[] argv)
Parse the list of files for plans, goals, world model entries, and Observer specifications. |
void |
parseString(Interpreter interpreter,
java.lang.String pString)
Parse the string for plans, goals, world model entries, and Observer specifications. |
void |
setAgentHasMoved(boolean flag)
|
void |
setIntentionStructure(IntentionStructure is)
|
void |
setNumAPLsStat(int num)
|
void |
setNumCyclesStat(int num)
|
void |
setNumGoalsStat(int num)
|
void |
setNumNullAPLsStat(int num)
|
void |
setObserver(Plan p)
|
void |
setPlanLibrary(PlanTable t)
|
boolean |
setShowActionFailure(boolean flag)
|
boolean |
setShowAPL(boolean flag)
|
boolean |
setShowGoalList(boolean flag)
|
boolean |
setShowIntentionStructure(boolean flag)
|
boolean |
setShowWorldModel(boolean flag)
|
void |
setSystemFunctions(Functions f)
|
void |
setTotalUtilityStat(double num)
|
void |
setUserFunctions(Functions f)
|
void |
setWorldModel(WorldModelTable t)
|
protected boolean |
stopped()
Returns true if this thread has been stopped. |
protected boolean |
suspended()
Returns true if this thread has been suspended. |
boolean |
think()
Execute the agent's behavior |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected PlanTable _planLibrary
protected WorldModelTable _worldModel
protected IntentionStructure _intentionStructure
protected Plan _observer
protected Functions _systemFunctions
protected Functions _userFunctions
protected boolean _showWorldModel
protected boolean _showGoalList
protected boolean _showIntentionStructure
protected boolean _showAPL
protected boolean _showActionFailure
Constructor Detail |
public Interpreter()
public Interpreter(java.lang.String[] argv) throws ParseException, java.io.IOException
Method Detail |
public PlanTable getPlanLibrary()
public void setPlanLibrary(PlanTable t)
public WorldModelTable getWorldModel()
public void setWorldModel(WorldModelTable t)
public IntentionStructure getIntentionStructure()
public void setIntentionStructure(IntentionStructure is)
public Functions getSystemFunctions()
public void setSystemFunctions(Functions f)
public Functions getUserFunctions()
public void setUserFunctions(Functions f)
public Plan getObserver()
public void setObserver(Plan p)
public SymbolTable getRelationTable()
public int getNumAPLsStat()
public void setNumAPLsStat(int num)
public int getNumNullAPLsStat()
public void setNumNullAPLsStat(int num)
public int getNumGoalsStat()
public void setNumGoalsStat(int num)
public int getNumCyclesStat()
public void setNumCyclesStat(int num)
public double getTotalUtilityStat()
public void setTotalUtilityStat(double num)
public boolean getAgentHasMoved()
public void setAgentHasMoved(boolean flag)
public boolean getShowWorldModel()
public boolean getShowGoalList()
public boolean getShowAPL()
public boolean getShowIntentionStructure()
public boolean getShowActionFailure()
public boolean setShowWorldModel(boolean flag)
public boolean setShowGoalList(boolean flag)
public boolean setShowAPL(boolean flag)
public boolean setShowIntentionStructure(boolean flag)
public boolean setShowActionFailure(boolean flag)
protected void mySuspend()
protected boolean suspended()
true
if this thread has been suspended.mySuspend()
protected void myResume()
protected void myStop()
protected boolean stopped()
true
if this thread has been stopped.myStop()
public void parse(java.lang.String[] argv) throws java.io.IOException, ParseException
public boolean think()
public void parseString(Interpreter interpreter, java.lang.String pString)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |