The sim C++ library -- version 2.0

A simulation is the execution in time of a model, represented by a computer program, that gives information about the system being investigated. The library sim adopts the method of the Discrete Event Simulation. With this approach, the components of the model consist of events, which are activated at certain points in time and in this way affect the overall state of the system. The points in time that an event is activated are randomized, so no input from outside the system is required. Events exist autonomously and they are discrete so between the execution of two events nothing happens. The library sim provides an event-based, as well as a process-oriented approach of writing a simulation program. With the process-oriented approach, the components of the program consist of entities, which combine several related events into one entity. Sim is written in the C++ programming language. The library provides classes, that can be used by writing a C++ simulation program. We provided the library with such a functionality, that the resulting language is similar to SIMULA. The library can be compiled to both a pure ASCII version as well as a HUSH version. If you run the library in HUSH mode, you can use the graphical features.

Differences between 2.0 and 1.0 versions

Advantages

Disadvantages

Keep us informed. Mail any comments to eliens@cs.vu.nl.