Simulation Toolboxes


for Computer Science 301a
Simulation Techniques

adapted by Lin Jensen, Bishop's University and students from System simulation; programming styles and languages, Wolfgang Kreutzer, 1986

Index

Documentation:

The following are Pascal Units, they are ASCII text files: USEBIOS: Screen stuff, not a simulation toolbox, but a general purpose unit for Clearing screen, positioning cursor, writing Prompts for user input, and waiting for a keypress, without losing output file redirection capability.

USES heirachy:

                 SIMOBJ    QUEUE   CLOCK
                     \      |      /
        QNETOBJ ------ COPROC ---- STATOBJ ---- MCOBJ
                            |      |
                            PROC_MAN
                          /    |     \
                   MESSAGE  RESOURCE  ANIMATOR

all the toolboxes assume a global variable TheClock, declared as one of the types in CLOCK.

Ordering of units: SIMOBJ must appear in the USES statement before PROC_MAN, because the Reporter global object must be initialized before Monitor.

Main program examples:


Please note:


Last updated 17 November 1996 corrected 22 November 2002

Up to top of this document
Back to Simulation notes. home arrow

Comments, etc, send to

ljensen at ubishops.ca