cz.cuni.amis.pogamut.base.agent.module
Interface IAgentLogic<LOGIC_MODULE extends LogicModule>

All Known Subinterfaces:
IUT2004BotLogicController<BOT,LOGIC_MODULE>
All Known Implementing Classes:
UT2004BotLogicController, UT2004BotModuleController

public interface IAgentLogic<LOGIC_MODULE extends LogicModule>


Method Summary
 long getLogicInitializeTime()
          Returns upper-estimation of IAgentLogic#initializeLogic() method running time in millis.
 long getLogicShutdownTime()
          Returns upper-estimation of logicShutdown() method running time in millis.
 void logic()
          Called to perform the logic of the agent.
 void logicInitialize(LOGIC_MODULE logicModule)
          Called when the agent is started and just before the first logic() invocation.
 void logicShutdown()
          Called whenever the LogicModule is stopping to end the logic.
 

Method Detail

getLogicInitializeTime

long getLogicInitializeTime()
Returns upper-estimation of IAgentLogic#initializeLogic() method running time in millis.

Returns:

logicInitialize

void logicInitialize(LOGIC_MODULE logicModule)
Called when the agent is started and just before the first logic() invocation.

Parameters:
logicModule -

logic

void logic()
Called to perform the logic of the agent. If performed by the LogicModule or its descendant then it is called periodically.


logicShutdown

void logicShutdown()
Called whenever the LogicModule is stopping to end the logic.


getLogicShutdownTime

long getLogicShutdownTime()
Returns upper-estimation of logicShutdown() method running time in millis.

Returns: