Implementation

The moth environment simulation is implemented using MOOSE (Multimodeling Object-Oriented Simulation Environment), which is being developed by Paul Fishwick and several graduate students (Robert Cubert, Tolga Goktekin, et.al.). This software package facilitates a uniform approach to OOPM. A Graphical User Interface (GUI) is provided to allow construction of the simulation class hierarchy. Several types of dynamical model types are supported or the user can program their own functions. The code methods are programmed using C++. The following figures show the main modeling window (Figure 4) and an example of a class window (Figure 5) showing attributes and methods. The moth simulation uses code methods only. The code methods were used because of the simulation designer's proficiency in C++ programming.

FIGURE 4

FIGURE 5

Implementation Procedure

The following schedule was adhered to in order to implement the simulation:



FIGURE 6

Note: The graphical display application does not show all the variables, some are simply output as text by the Tk/Tcl program.