Class | Description |
---|---|
Calendar |
Calendars are special event handlers derived from the abstract base class
Calendar . |
OrderedTreeSetCalendar |
Calendar which relies on a
TreeSet to keep the events in order. |
SimpleOrderedCalendar |
A calendar implementation that uses java collection for the sake of
simplicity.
|
SimpleRandomCalendar |
A calendar implementation that uses java collection for the sake of
simplicity.
|
StdOrderedCalendar |
The simplest and slowest implementation of a calendar.
|
All calendars are derived from the abstract base class
Calendar
. See there for further
information about the interface of the calendar.
The library provides the implementations
StdOrderedCalendar
,
SimpleOrderedCalendar
, and
OrderedTreeSetCalendar
. The
implementations use different data structures and do therefore have different
performance. See the respective classes for more information.
Generally, a simulation has a central calendar. The implementation to be used
can be specified on the command line, see
SimulationEnvironment
.