|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Agent
madkit.strobekit.StrobeAbstractAgent
madkit.strobekit.strobedemo.StrobeDemoAgent
Constructor Summary | |
StrobeDemoAgent()
|
Method Summary | |
void |
addAcquaintance(madkit.kernel.AgentAddress a)
This method has to be redefined by Strobe agents; it corresponds to the adding acquaintance policy i.e., how a Strobe agents create a new CognitiveEnv when they meet a new agent for the very first time. |
void |
analyzeAnswer(java.lang.String res)
This method has to be redefined by Strobe agents; it corresponds to the way answer returned by Strobe message evaluation are analyzed. |
void |
initGUI()
|
void |
printlnOut(java.lang.Object m)
|
void |
printOut(java.lang.Object m)
|
void |
strobeActivate()
Replace the method activate for Strobe agents . |
void |
strobeEnd()
Replace the method end for Strobe agents . |
void |
strobeLive()
Replace the method live for Strobe agents . |
Methods inherited from class madkit.kernel.Agent |
pause, receiveMessage, run, waitNextMessage, waitNextMessage |
Methods inherited from class madkit.kernel.AbstractAgent |
broadcastMessage, broadcastMessage, connectedWithCommunity, createGroup, createGroup, debug, disposeMyGUI, foundGroup, getAddress, getAgentInformation, getAgentsWithRole, getAgentsWithRole, getAgentWithRole, getAgentWithRole, getAvailableCommunities, getBean, getController, getDebug, getExistingGroups, getExistingGroups, getExistingRoles, getExistingRoles, getGroups, getGUIObject, getMessageBoxSize, getMyGroups, getMyGroups, getMyRoles, getMyRoles, getName, getRoles, hasGUI, isCommunity, isGroup, isGroup, isMessageBoxEmpty, isRole, isRole, joinGroup, killAgent, launchAgent, leaveGroup, leaveGroup, leaveRole, leaveRole, nextMessage, print, println, redisplayMyGUI, requestRole, requestRole, requestRole, restoreAgent, sendMessage, sendMessage, sendMessage, setBean, setController, setDebug, setGUIObject, setName, setOutput, setOutputWriter, windowClosing |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StrobeDemoAgent()
Method Detail |
public void initGUI()
public void strobeActivate()
StrobeAbstractAgent
activate
for Strobe agents .
strobeActivate
in class StrobeAbstractAgent
public void strobeLive()
StrobeAbstractAgent
live
for Strobe agents .
strobeLive
in class StrobeAbstractAgent
public void strobeEnd()
StrobeAbstractAgent
end
for Strobe agents .
strobeEnd
in class StrobeAbstractAgent
public void addAcquaintance(madkit.kernel.AgentAddress a)
StrobeAbstractAgent
CognitiveEnv
when they meet a new agent for the very first time.
addAcquaintance
in class StrobeAbstractAgent
public void analyzeAnswer(java.lang.String res)
StrobeAbstractAgent
analyzeAnswer
in class StrobeAbstractAgent
public void printlnOut(java.lang.Object m)
public void printOut(java.lang.Object m)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |