|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface specifies the API for a generic agent controller.
Method Summary | |
void |
addAgent(Agent agent)
Adds an Agent to be controlled by this Controller. |
ActionStream |
getActionStream(Agent agent)
Gets the ActionStream to control this Agent. |
ModelFactory |
getModelFactory()
Gets a factory which can be used to create components of a world model of an appropriate type to the Controller being used. |
void |
setFeedbackGenerator(FeedbackGenerator fbg)
Sets the source of feedback to the Controller. |
Method Detail |
public ModelFactory getModelFactory()
public void setFeedbackGenerator(FeedbackGenerator fbg)
fbg
- the FeedbackGenerator to use for Feedbackpublic void addAgent(Agent agent)
agent
- the agent to controlpublic ActionStream getActionStream(Agent agent)
agent
- the Agent to get the controlling stream for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |