Class TickBasedScheduler
A scheduler that uses a
TickBasedTimer to simulate the time.-
Nested Class Summary
Nested classes/interfaces inherited from class madkit.kernel.Scheduler
Scheduler.SimulationStateNested classes/interfaces inherited from class madkit.kernel.Agent
Agent.ReturnCode -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class madkit.kernel.Scheduler
addActivator, addEnvironmentActivator, addViewersActivator, executeAndLog, getActions, getActivators, getPause, getPauseSlider, getShedulerActions, getSimuTimer, getTimeLabel, getToolBar, logCurrrentTime, onActivation, onEnd, onLive, onSimulationStart, removeActivator, removeAllActivators, setPause, setSimulationTimeMethods inherited from class madkit.simulation.SimuAgent
createSimuGroup, getCommunity, getEngineGroup, getEnvironment, getLauncher, getModel, getModelGroup, getNextEventDate, getScheduler, getViewers, launchAgent, leaveRole, leaveSimuGroup, leaveSimuRole, playRole, prng, requestSimuRoleMethods inherited from class madkit.kernel.Agent
activate, broadcast, broadcastWithRole, broadcastWithRoleWaitForReplies, checkAgentAddress, createGroup, createGroup, createGroup, end, equals, executeThisAgent, executeThisAgent, exitOnKill, getAgentsWithRole, getAgentWithRole, getKernelAddress, getKernelConfig, getLogger, getMailbox, getName, getNetworkID, getOrganization, getReplyTo, handleRequestActionMessage, hashCode, isAlive, killAgent, killAgent, launchAgent, launchAgent, leaveGroup, leaveRole, live, nextMessage, pause, receiveMessage, reload, reply, replyWithRole, requestRole, requestRole, send, send, sendWaitReply, sendWaitReply, sendWithRole, sendWithRole, sendWithRoleWaitReply, sendWithRoleWaitReply, setupDefaultGUI, toString, waitAnswer, waitAnswer, waitNextMessage, waitNextMessage
-
Constructor Details
-
TickBasedScheduler
public TickBasedScheduler()
-
-
Method Details
-
doSimulationStep
public void doSimulationStep()Adds one time unit to the current time- Specified by:
doSimulationStepin classScheduler<TickBasedTimer>
-