|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Action translators decide what (if any) action will be sent to the server and construct the MAction objects when needed.
| Method Summary | |
MAction |
calculateAction()
This method will be called on the action translator with the highest priority. |
void |
dontCalculateAction()
This method is called on the actions with lower priorities. |
java.lang.String |
getActionID()
Returns the ID of the action that this translator will construct. |
double |
getCurrentActionPriority()
Returns the action's current priority. |
void |
receiveActionResult(double value)
Called every cycle to report the success of the action, without regard of previous cycle's priorities. |
void |
shutdown()
This is called directly before destruction and should be used to unregister listeners etc. |
| Method Detail |
public java.lang.String getActionID()
public double getCurrentActionPriority()
public MAction calculateAction()
public void dontCalculateAction()
public void receiveActionResult(double value)
value - the success of this action's executionpublic void shutdown()
|
(c) by Micropsi Project: http://www.cognitive-agents.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||