40 Years of Computing at Newcastle

Department Technical Report Series No. 437

Construction and Use of a Simulation Package in C++

M.C. Little
D.L. McCue

University of Newcastle upon Tyne. 1993

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.


Department Technical Report Series - 1993
Department Technical Report Series Index
Contents Page - 40 Years of Computing at Newcastle
Technical Report Abstract No. 437, 27 June 1997