Uses of Class
jasima.core.simulation.SimEvent
-
Packages that use SimEvent Package Description jasima.core.simulation jasima.core.simulation.util -
-
Uses of SimEvent in jasima.core.simulation
Methods in jasima.core.simulation that return SimEvent Modifier and Type Method Description SimEventSimulation. currentEvent()Returns theSimEventobject that is currently processed.SimEventEventHeap. extract()Return and remove least element, or null if empty.SimEventEventQueue. extract()Extract the (chronologically) next event from the queue.static SimEventSimContext. schedule(SimEvent event)SimEventSimulation. schedule(SimEvent event)Schedules a new event.static SimEventSimContext. scheduleAt(double time, int prio, Runnable method)static SimEventSimContext. scheduleAt(double time, Runnable method)static SimEventSimContext. scheduleAt(String description, double time, int prio, Runnable action)static SimEventSimContext. scheduleAt(String description, double time, Runnable action)static SimEventSimContext. scheduleAt(String description, Instant time, int prio, Runnable method)static SimEventSimContext. scheduleAt(String description, Instant time, Runnable method)static SimEventSimContext. scheduleAt(Instant time, int prio, Runnable method)static SimEventSimContext. scheduleAt(Instant time, Runnable method)static SimEventSimContext. scheduleIn(double time, int prio, Runnable method)static SimEventSimContext. scheduleIn(double time, Runnable method)static SimEventSimContext. scheduleIn(long numUnits, TemporalUnit unit, int prio, Runnable method)static SimEventSimContext. scheduleIn(long numUnits, TemporalUnit unit, Runnable method)static SimEventSimContext. scheduleIn(String description, double time, int prio, Runnable method)static SimEventSimContext. scheduleIn(String description, double time, Runnable method)static SimEventSimContext. scheduleIn(String description, long numUnits, TemporalUnit unit, int prio, Runnable method)static SimEventSimContext. scheduleIn(String description, long numUnits, TemporalUnit unit, Runnable method)static SimEventSimContext. scheduleIn(String description, Duration duration, int prio, Runnable method)static SimEventSimContext. scheduleIn(String description, Duration duration, Runnable method)static SimEventSimContext. scheduleIn(Duration duration, int prio, Runnable method)static SimEventSimContext. scheduleIn(Duration duration, Runnable method)Methods in jasima.core.simulation that return types with arguments of type SimEvent Modifier and Type Method Description ArrayList<SimEvent>EventHeap. allEvents()Returns all events as an ordered list.List<SimEvent>EventQueue. allEvents()Returns all events as an ordered list.List<SimEvent>Simulation. scheduledEvents()Returns an ordered list of all events currently in the event queue.Methods in jasima.core.simulation with parameters of type SimEvent Modifier and Type Method Description intSimEvent. compareTo(SimEvent o)intEventHeap. indexOf(SimEvent element)Scans the underlying array if it contains the given element.voidEventHeap. insert(SimEvent x)insert an element, resize if necessaryvoidEventQueue. insert(SimEvent e)Insert an event in the queue.booleanEventHeap. remove(SimEvent element)Removes an element from this heap.booleanEventQueue. remove(SimEvent element)Removes the given element from the queue.protected voidSimulation. runEventHandler(SimEvent evt)Runs the handle-method ofevt(seehandle().static SimEventSimContext. schedule(SimEvent event)SimEventSimulation. schedule(SimEvent event)Schedules a new event.booleanSimulation. unschedule(SimEvent event)Removes the given event object from the event queue. -
Uses of SimEvent in jasima.core.simulation.util
Subclasses of SimEvent in jasima.core.simulation.util Modifier and Type Class Description classSimEventMethodCallThis class is used internally by#scheduleAt(double,int,Runnable)to run a certain method at a particular simulation time.Methods in jasima.core.simulation.util that return SimEvent Modifier and Type Method Description default SimEventSimOperations. schedule(SimEvent event)Schedules a new event.default SimEventSimOperations. scheduleAt(double time, int prio, Runnable method)Schedules a call tomethodat a certain point in time.default SimEventSimOperations. scheduleAt(double time, int prio, Runnable method, SimOperations.SimEventType eventType)default SimEventSimOperations. scheduleAt(double time, Runnable method)default SimEventSimOperations. scheduleAt(double time, Runnable method, SimOperations.SimEventType eventType)default SimEventSimOperations. scheduleAt(long numUnits, TemporalUnit unit, int prio, Runnable method)Schedules a call tomethodat a certain amount of time specified bynumUnitsandunit.default SimEventSimOperations. scheduleAt(long numUnits, TemporalUnit unit, Runnable method)default SimEventSimOperations. scheduleAt(String description, double time, int prio, Runnable action)Schedules a call tomethodat a certain point in time.default SimEventSimOperations. scheduleAt(String description, double time, int prio, Runnable action, SimOperations.SimEventType eventType)Schedules a call tomethodat a certain point in time.default SimEventSimOperations. scheduleAt(String description, double time, Runnable action)default SimEventSimOperations. scheduleAt(String description, double time, Runnable action, SimOperations.SimEventType eventType)default SimEventSimOperations. scheduleAt(String description, long numUnits, TemporalUnit unit, int prio, Runnable method)Schedules a call tomethodat a certain amount of time specified bynumUnitsandunit.default SimEventSimOperations. scheduleAt(String description, long numUnits, TemporalUnit unit, Runnable method)default SimEventSimOperations. scheduleAt(String description, Instant time, int prio, Runnable method)Schedules a call tomethodat a certain point in time given as a Java Instant.default SimEventSimOperations. scheduleAt(String description, Instant time, Runnable method)default SimEventSimOperations. scheduleAt(Instant time, int prio, Runnable method)Schedules a call tomethodat a certain point in time given as a Java Instant.default SimEventSimOperations. scheduleAt(Instant time, Runnable method)default SimEventSimOperations. scheduleIn(double time, int prio, Runnable method)Schedules a call tomethodin a certain amount of time.default SimEventSimOperations. scheduleIn(double time, int prio, Runnable method, SimOperations.SimEventType eventType)default SimEventSimOperations. scheduleIn(double time, Runnable method)default SimEventSimOperations. scheduleIn(double time, Runnable method, SimOperations.SimEventType eventType)default SimEventSimOperations. scheduleIn(long numUnits, TemporalUnit unit, int prio, Runnable method)Schedules a call tomethodin a certain amount of time specified bynumUnitsandunit.default SimEventSimOperations. scheduleIn(long numUnits, TemporalUnit unit, Runnable method)default SimEventSimOperations. scheduleIn(String description, double time, int prio, Runnable method)Schedules a call tomethodin a certain amount of time.default SimEventSimOperations. scheduleIn(String description, double time, int prio, Runnable method, SimOperations.SimEventType eventType)Schedules a call tomethodin a certain amount of time.default SimEventSimOperations. scheduleIn(String description, double time, Runnable method)default SimEventSimOperations. scheduleIn(String description, double time, Runnable method, SimOperations.SimEventType eventType)default SimEventSimOperations. scheduleIn(String description, long numUnits, TemporalUnit unit, int prio, Runnable method)Schedules a call tomethodin a certain amount of time specified bynumUnitsandunit.default SimEventSimOperations. scheduleIn(String description, long numUnits, TemporalUnit unit, Runnable method)default SimEventSimOperations. scheduleIn(String description, Duration duration, int prio, Runnable method)Schedules a call tomethodin a certain amount of time.default SimEventSimOperations. scheduleIn(String description, Duration duration, Runnable method)default SimEventSimOperations. scheduleIn(Duration duration, int prio, Runnable method)Schedules a call tomethodin a certain amount of time.default SimEventSimOperations. scheduleIn(Duration duration, Runnable method)Methods in jasima.core.simulation.util with parameters of type SimEvent Modifier and Type Method Description default SimEventSimOperations. schedule(SimEvent event)Schedules a new event.
-