Abstract

We have designed and built a simulation package in C++ which provides discrete process based simulation similar to SIMULA's simulation class and libraries. The linked list manipulation facilities provided by SIMSET are also provided in the library by the use of appropriate classes. Inheritance was used throughout the design to an even greater extent than is already provided by SIMULA. This has allowed us to add new functionality without affecting the overall system structure, and hence provides for a more flexible and expandable simulation package. This paper describes the class hierarchy which we have created, and indicates how it can be used to further refine the simulation package. An example of how to use the simulation package is also presented.

Keywords

C++, object-orientation, simula, simulation

CS-TR No 437 Construction and Use of a Simulation Package in C++
Little, M.C. and McCue, D.L.
School of Computing Science, Newcastle University, 1993