Appendix 2AEXAMPLE SOURCE CODE
support directory on the companion Web site contains the classes that implement the
PracSim simulation infrastructure. A number of these classes are listed in Table 2A.1. In addition to the items listed, the
support directory also contains I/O support routines for the enumerated types presented in Section 2.1.3.
Every model in
PracSim inherits from the base class
PracSimModel. The header for
PracSimModel is provided in Listings 2A.1, and implementations for the various methods are provided in Listing 2A.2 through 2A.4.