Uses of Class
modelarium.clock.ReadOnlyClock
Packages that use ReadOnlyClock
Package
Description
Defines the simulation views supplied to attribute behaviour.
Provides policies for ordering local agent execution on each tick.
Provides a lambda-backed scheduler and its tick function interface.
-
Uses of ReadOnlyClock in modelarium.entities.contexts
Methods in modelarium.entities.contexts that return ReadOnlyClock -
Uses of ReadOnlyClock in modelarium.scheduler
Methods in modelarium.scheduler with parameters of type ReadOnlyClockModifier and TypeMethodDescriptionvoidInOrderScheduler.runTick(String threadName, ReadOnlyClock clock, ReadOnlyEnvironment environment, AgentSet agentSet, RandomGenerator random) Executes each agent'srun()method in the order they are stored in the agent set.voidRandomOrderScheduler.runTick(String threadName, ReadOnlyClock clock, ReadOnlyEnvironment environment, AgentSet agentSet, RandomGenerator random) Executes each agent'srun()method in a randomised order.voidScheduler.runTick(String threadName, ReadOnlyClock clock, ReadOnlyEnvironment environment, AgentSet agentSet, RandomGenerator random) Executes a single simulation tick for the provided agent set. -
Uses of ReadOnlyClock in modelarium.scheduler.functional
Methods in modelarium.scheduler.functional with parameters of type ReadOnlyClockModifier and TypeMethodDescriptionvoidFunctionalScheduler.runTick(String threadName, ReadOnlyClock clock, ReadOnlyEnvironment environment, AgentSet agentSet, RandomGenerator random) Executes a single simulation tick by delegating to the user-provided function.voidTickFunction.runTick(String threadName, ReadOnlyClock clock, ReadOnlyEnvironment environment, AgentSet agentSet, RandomGenerator randomGenerator) Executes a single simulation tick for the provided agent set.