cz.cuni.amis.pogamut.defcon.agent.module.logic
Class DefConAgentLogic<AGENT extends DefConAgent>
java.lang.Object
cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
cz.cuni.amis.pogamut.base.agent.module.LogicModule<AGENT>
cz.cuni.amis.pogamut.defcon.agent.module.logic.DefConAgentLogic<AGENT>
- Type Parameters:
AGENT
-
- All Implemented Interfaces:
- IComponent
public class DefConAgentLogic<AGENT extends DefConAgent>
- extends LogicModule<AGENT>
Defcon logic module.
- Author:
- Radek 'Black_Hand' Pibil
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.LogicModule |
lastLogicRun, logic, logicException, logicFrequency, logicPaused, logicPeriod, logicRunning, logicShouldPause, logicShouldRun, logicThread, MAX_LOGIC_FREQUENCY, MAX_LOGIC_PERIOD_MILLIS, MIN_LOGIC_FREQUENCY, MIN_LOGIC_PERIOD_MILLIS, mutex |
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.LogicModule |
afterLogicException, getLogicException, getLogicFrequency, getLogicPeriod, inThreadKilling, inThreadPausing, inThreadResuming, inThreadStopping, kill, logicLatch, pause, resume, setLogicFrequency, setMaxLogicFrequency, setMinLogicFrequency, shouldExecuteLogic, start, stop |
DefConAgentLogic
@Inject
public DefConAgentLogic(AGENT agent,
IAgentLogic<LogicModule<AGENT>> logic)
DefConAgentLogic
public DefConAgentLogic(AGENT agent,
IAgentLogic<LogicModule<AGENT>> logic,
Logger log)
DefConAgentLogic
public DefConAgentLogic(AGENT agent,
IAgentLogic<LogicModule<AGENT>> logic,
Logger log,
ComponentDependencies dependencies)
beforeLogic
protected void beforeLogic(String threadName)
- Overrides:
beforeLogic
in class LogicModule<AGENT extends DefConAgent>
afterLogic
protected void afterLogic(String threadName)
- Overrides:
afterLogic
in class LogicModule<AGENT extends DefConAgent>
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.