Uses of Class
org.simplesim.core.scheduling.Time
Packages that use Time
Package
Description
Instrumentation support
Time scale and event queue implementations
Examples of how to use this framework
Contains all classes specific for the dynamic model
Contains all classes shared by static and dynamic model
Contains all classes specific for the static model
Simulation model of Convay's game of life
Base classes for agent development and model building
Simulator implementations
-
Uses of Time in org.simplesim.core.instrumentation
Methods in org.simplesim.core.instrumentation with parameters of type TimeModifier and TypeMethodDescriptionvoidListener.notifyListener(Time time, T source) Notifies all listeners of a specific event or hookvoidListenerSupport.notifyListeners(Time time, T source) -
Uses of Time in org.simplesim.core.scheduling
Fields in org.simplesim.core.scheduling declared as TimeModifier and TypeFieldDescriptionstatic final TimeTime.DAYstatic final TimeTime.HOURstatic final TimeTime.INFINITYstatic final TimeTime.MONTHstatic final TimeTime.TICKstatic final TimeTime.WEEKstatic final TimeTime.YEARstatic final TimeTime.ZEROMethods in org.simplesim.core.scheduling that return TimeModifier and TypeMethodDescriptionTime.add(long value) Removes the entry of the given event.EventQueue.getMin()Gets the minimal time stamp.HashedBucketQueue.getMin()HeapBucketQueue.getMin()HeapEventQueue.getMin()MultiLevelBucketQueue.getMin()MultiLevelEventQueue.getMin()SortedBucketQueue.getMin()SortedEventQueue.getMin()Gets the time of the given event but does not dequeue it.Time.sub(long value) Methods in org.simplesim.core.scheduling with parameters of type TimeModifier and TypeMethodDescriptionintEventQueue.dequeueAll(Time time) Dequeues all elements with the given time stamp.HashedBucketQueue.dequeueAll(Time time) HeapBucketQueue.dequeueAll(Time time) MultiLevelBucketQueue.dequeueAll(Time time) MultiLevelEventQueue.dequeueAll(Time time) SortedEventQueue.dequeueAll(Time time) voidEnqueues an event at the given time.voidvoidvoidvoidvoidbooleanbooleanConstructors in org.simplesim.core.scheduling with parameters of type TimeConstructor parameters in org.simplesim.core.scheduling with type arguments of type TimeModifierConstructorDescriptionSortedBucketQueue(SortedMap<Time, List<E>> map) Constructor allowing to parameterize your own variant of aSortedMap. -
Uses of Time in org.simplesim.examples
Methods in org.simplesim.examples that return TimeMethods in org.simplesim.examples with parameters of type Time -
Uses of Time in org.simplesim.examples.elevator.dyn
Methods in org.simplesim.examples.elevator.dyn that return TimeModifier and TypeMethodDescriptionMethods in org.simplesim.examples.elevator.dyn with parameters of type TimeModifier and TypeMethodDescriptionvoidDynamicElevator.enqueueEvent(Elevator.Event event, Time time) voidDynamicVisitor.sendRequest(BasicAgent<?, ?> dest, int destination, Time time) -
Uses of Time in org.simplesim.examples.elevator.stat
Methods in org.simplesim.examples.elevator.stat that return TimeModifier and TypeMethodDescriptionMethods in org.simplesim.examples.elevator.stat with parameters of type TimeModifier and TypeMethodDescriptionvoidStaticElevator.enqueueEvent(Elevator.Event event, Time time) voidStaticVisitor.sendRequest(BasicAgent<?, ?> dest, int destination, Time time) -
Uses of Time in org.simplesim.examples.gameoflife
Methods in org.simplesim.examples.gameoflife that return TimeMethods in org.simplesim.examples.gameoflife with parameters of type Time -
Uses of Time in org.simplesim.model
Methods in org.simplesim.model that return TimeModifier and TypeMethodDescriptionCalculates new outputs from the available inputs and implements the agent's strategy.Agent.getTimeOfNextEvent()Returns the time of the next event (tone).BasicAgent.getTimeOfNextEvent()Returns the time of the next internal event.InstrumentationDecorator.getTimeOfNextEvent()Methods in org.simplesim.model with parameters of type TimeModifier and TypeMethodDescriptionCalculates new outputs from the available inputs and implements the agent's strategy.default voidAgent.log(PrintStream stream, Time time, String msg) Provides simple logging functionality to a stream with time stamp, entity name and message output.default voidProvides simple logging functionality to System.out with time stamp, entity name and message output. -
Uses of Time in org.simplesim.simulator
Methods in org.simplesim.simulator that return TimeModifier and TypeMethodDescriptionBasicSimulator.getSimulationTime()DynamicDecorator.getSimulationTime()Simulator.getSimulationTime()SequentialTSSimulator.getTimeStep()Methods in org.simplesim.simulator with parameters of type TimeModifier and TypeMethodDescriptionabstract voidBasicSimulator.runSimulation(Time stop) Starts a simulation runvoidConcurrentDESimulator.runSimulation(Time stop) voidConcurrentTSSimulator.runSimulation(Time stop) voidDynamicDecorator.runSimulation(Time stop) voidSequentialDESimulator.runSimulation(Time stop) voidSequentialTSSimulator.runSimulation(Time stop) voidSimulator.runSimulation(Time stop) Starts a simulation run