|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.micropsi.comp.agent.turtle.BraitenbergWorldAdapter
| Constructor Summary | |
BraitenbergWorldAdapter()
|
|
| Method Summary | |
ActionTranslatorIF[] |
createActionTranslators()
Creates (or returns) the action translator objects of this adapter. |
AgentControllerIF |
createController()
Creates (or simply returns) the agent controller object. |
PerceptTranslatorIF[] |
createPerceptTranslators()
Creates (or returns) the percept translator objects of this adapter. |
UrgeCreatorIF[] |
createUrgeCreators()
Creates (or returns) the urge creators of this adapter. |
void |
initialize(AgentIF agent,
Logger logger)
Initializes the adapter and provides some basic things the other methods will probably need. |
void |
notifyOfAction()
This method is called directly after an action translator constructed an action and before it is sent to the world. |
void |
notifyOfActionResult(java.lang.String actionName,
double result)
This method is called when action result data is received from the world. |
void |
notifyOfPerception()
This method is called directly after the framework received a new perception packet. |
void |
receiveBodyPropertyChanges(java.util.ArrayList propertyChanges)
Body property changes are not ordinary perceptions, but immediate results of some action. |
void |
shutdown()
This is called directly before destruction and should be used to unregister listeners etc. |
boolean |
wantsPerception()
Checks if the agent is ready to receive perception data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BraitenbergWorldAdapter()
| Method Detail |
public void initialize(AgentIF agent,
Logger logger)
throws MicropsiException
AgentWorldAdapterIF
initialize in interface AgentWorldAdapterIFagent - the agentlogger - the agent's logger
MicropsiException - if the world adapter can't be initialized for some reasonpublic AgentControllerIF createController()
AgentWorldAdapterIF
createController in interface AgentWorldAdapterIFpublic ActionTranslatorIF[] createActionTranslators()
AgentWorldAdapterIF
createActionTranslators in interface AgentWorldAdapterIFpublic PerceptTranslatorIF[] createPerceptTranslators()
AgentWorldAdapterIF
createPerceptTranslators in interface AgentWorldAdapterIFpublic UrgeCreatorIF[] createUrgeCreators()
AgentWorldAdapterIF
createUrgeCreators in interface AgentWorldAdapterIFpublic boolean wantsPerception()
AgentControllerIF
wantsPerception in interface AgentControllerIFpublic void receiveBodyPropertyChanges(java.util.ArrayList propertyChanges)
AgentControllerIF
receiveBodyPropertyChanges in interface AgentControllerIFpropertyChanges - a List of MPerceptionValue with body parameter changes.public void notifyOfPerception()
AgentControllerIF
notifyOfPerception in interface AgentControllerIFpublic void notifyOfAction()
AgentControllerIF
notifyOfAction in interface AgentControllerIF
public void notifyOfActionResult(java.lang.String actionName,
double result)
AgentControllerIF
notifyOfActionResult in interface AgentControllerIFactionName - the name of the actionresult - the success code or valuepublic void shutdown()
AgentControllerIF
shutdown in interface AgentControllerIF
|
(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 | |||||||||