SSJ  3.3.1
Stochastic Simulation in Java
Packages | Classes
Package umontreal.ssj.simevents

Simulation Clock and Event List Management. More...

Packages

package  eventlist
 This package provides different kinds of event list implementations.
 

Classes

class  Accumulate
 A subclass of umontreal.ssj.stat.StatProbe, for collecting statistics on a variable that evolves in simulation time, with a piecewise-constant trajectory. More...
 
class  Continuous
 Represents a variable in a continuous-time simulation. More...
 
class  ContinuousState
 Represents the portion of the simulator’s state associated with continuous-time simulation. More...
 
class  Event
 This abstract class provides event scheduling tools. More...
 
class  LinkedListStat
 This class extends ListWithStat, and uses a linked list as the internal data structure. More...
 
class  ListWithStat
 Implements a list with integrated statistical probes to provide automatic collection of statistics on the sojourn times of objects in the list and on the size of the list as a function of time given by a simulator. More...
 
class  Sim
 This static class contains the executive of a discrete-event simulation. More...
 
class  Simulator
 Represents the executive of a discrete-event simulator. More...
 

Detailed Description

Simulation Clock and Event List Management.

This package provides the simulation clock and tools to manage the future events list. These are the basic tools for discrete-event simulation. Several different implementations of the event list are offered. Some basic tools for continuous simulation (i.e., solving differential equations with respect to time) are also provided.

This package provides the simulation clock and tools to manage the future events list. These are the basic tools for discrete-event simulation. Several different implementations of the event list are offered. Some basic tools for continuous simulation (i.e., solving differential equations with respect to time) are also provided.

The scheduling part of discrete-event simulations is managed by the "chief-executive" class umontreal.ssj.simevents.Simulator, which contains the simulation clock and the central monitor. The event list is taken from one of the implementations of the interface umontreal.ssj.simevents.eventlist.EventList, which provide different kinds of event list implementations. One can change the default umontreal.ssj.simevents.eventlist.SplayTree event list implementation via the method umontreal.ssj.simevents.Sim.init(EventList). The class umontreal.ssj.simevents.Event provides the facilities for creating and scheduling events in the simulation. Each type of event must be defined by extending the class umontreal.ssj.simevents.Event. The class umontreal.ssj.simevents.Continuous provides elementary tools for continuous simulation, where certain variables vary continuously in time according to ordinary differential equations.

The class umontreal.ssj.simevents.LinkedListStat implements doubly linked lists, with tools for inserting, removing, and viewing objects in the list, and automatic statistical collection. These lists can contain any kind of Object.