Package jason.infra.local
Class LocalAgArchForPool
java.lang.Object
jason.architecture.AgArch
jason.infra.local.LocalAgArch
jason.infra.local.LocalAgArchForPool
- All Implemented Interfaces:
Serializable
,Comparable<AgArch>
,Runnable
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, act, addMsgListener, broadcast, canSleep, checkMail, createArchs, createArchs, deliberate, getAgName, getConf, getControlInfraTier, getCycles, getCyclesAct, getCyclesDeliberate, getCyclesSense, getEnvInfraTier, getLogger, getMBox, getRuntimeServices, getStatus, getThread, getUserAgArch, informCycleFinished, isRunning, perceive, reasoningCycle, receiveMsg, receiveSyncSignal, removeMsgListener, sendMsg, sense, 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
-
LocalAgArchForPool
public LocalAgArchForPool()
-
-
Method Details
-
setExecutor
-
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
-
run
public void run()- Specified by:
run
in interfaceRunnable
- Overrides:
run
in classLocalAgArch
-