| Interface | Description |
|---|---|
| SimEvent<T> |
A (timed) event to be used in a
SimEventList. |
| SimEventAction<T> |
An action provider for
SimEvents. |
| SimEventFactory<E extends SimEvent> |
A factory for
SimEvents. |
| SimEventList<E extends SimEvent> |
An event list for
SimEvents. |
| SimEventListListener |
An object capable of listening to important changes in a
SimEventList. |
| SimEventListListener.Fine |
A listener that also wants to be notified of individual events processing by the event list.
|
| SimEventListResetListener |
An object capable of listening to a reset of a
SimEventList. |
| Class | Description |
|---|---|
| AbstractSimEventList<E extends SimEvent> |
A
TreeSet-based implementation of SimEventList. |
| AbstractSimTimer |
A general-purpose timer.
|
| DefaultSimEvent<T> |
An implementation of a
SimEvent. |
| DefaultSimEventComparator<E extends SimEvent> |
A default
Comparator on SimEvents. |
| DefaultSimEventFactory |
A default
SimEventFactory for SimEvents |
| DefaultSimEventList<E extends SimEvent> |
A default implementation of
SimEventList. |
| DefaultSimEventList_IOEL<E extends SimEvent> |
The IOEL (Insertion-Order Event List) variant of
AbstractSimEventList. |
| DefaultSimEventList_ROEL<E extends SimEvent> |
The ROEL (Random-Order Event List) variant of
AbstractSimEventList. |
It uses three important concepts:
interface SimEvent): an event represents a tuple of a time value
and a corresponding action to be
taken at that time;
interface SimEventAction): an action to be taken when an event is executed;
interface SimEventList): a list of events ordered increasing in time,
with unambiguous de-conflicting of simultaneous events.
The SimTimer class allows convenient scheduling of timer events on an event list.
Example code is available in the example package.
Last javadoc Review: Jan de Jongh, TNO, 20180404, r5.1.0.
Copyright © 2018. All rights reserved.