Package jason.infra.local
Class RunLocalMAS.LocalAgArchSynchronousScheduled
java.lang.Object
jason.architecture.AgArch
jason.infra.local.LocalAgArch
jason.infra.local.RunLocalMAS.LocalAgArchSynchronousScheduled
- All Implemented Interfaces:
Serializable
,Comparable<AgArch>
,Runnable
- Enclosing class:
RunLocalMAS
an agent architecture for the infra based on thread pool
- See Also:
-
Field Summary
Fields inherited from class jason.infra.local.LocalAgArch
infraEnv, logger, MAX_SLEEP
-
Constructor Summary
-
Method Summary
Methods inherited from class jason.infra.local.LocalAgArch
act, addMsgListener, broadcast, canSleep, checkMail, createArchs, createArchs, getAgName, getConf, getControlInfraTier, getCycles, getCyclesAct, getCyclesDeliberate, getCyclesSense, getEnvInfraTier, getLogger, getMBox, getRuntimeServices, getStatus, getThread, getUserAgArch, informCycleFinished, isRunning, perceive, reasoningCycle, receiveMsg, receiveSyncSignal, removeMsgListener, sendMsg, setAgName, setConf, setControlInfraTier, setCycles, setCyclesAct, setCyclesDeliberate, setCyclesSense, setEnvInfraTier, setLogger, setMASRunner, setThread, startThread, stopAg, wakeUpAct, wakeUpDeliberate, wakeUpSense
Methods inherited from class jason.architecture.AgArch
actionExecuted, compareTo, createCustomArchs, equals, getAgArchClassesChain, getCycleNumber, getFirstAgArch, getNextAgArch, getTS, hashCode, incCycleNumber, init, insertAgArch, reasoningCycleFinished, reasoningCycleStarting, setCycleNumber, setTS, stop, toString
-
Constructor Details
-
LocalAgArchSynchronousScheduled
protected LocalAgArchSynchronousScheduled()
-
-
Method Details
-
sleep
public void sleep()- Overrides:
sleep
in classLocalAgArch
-
wake
public void wake()Description copied from class:AgArch
Puts the agent in sleep.- Overrides:
wake
in classLocalAgArch
-
sense
public void sense()- Overrides:
sense
in classLocalAgArch
-
deliberate
public void deliberate()- Overrides:
deliberate
in classLocalAgArch
-
act
public void act()Description copied from class:LocalAgArch
the act as step of reasoning cycle- Overrides:
act
in classLocalAgArch
-
run
public void run()- Specified by:
run
in interfaceRunnable
- Overrides:
run
in classLocalAgArch
-