Marine Biology Simulation

Case Study

Distribution File Contents

DRAFT!

 

When you unzip the JavaMBS.zip distribution file, it creates a folder or directory called JavaMBS. That folder contains this file and the folders described below.

Code
This folder contains the source (*.java) files for the classes students will study as part of the case study. It also contains two libraries (mbsbb.jar and mbsgui.jar) of additional, pre-compiled classes required by the application. Students will need to read the documentation for some of these classes, but they do not need to understand (or even look at) their implementations.

Students will study a few classes in each chapter of the case study. The table below shows which classes are introduced in the each of the chapters of the case study; the ones in bold are the ones whose implementation or class documentation will be tested on the Advanced Placement exam.

Chapter Classes Students Study
(Code Folder)

Class Documentation
Students Read

Other Classes Mentioned
1 SimpleMBSDemo1
SimpleMBSDemo2
 

MBSGUI (for running)
BoundedEnv
Fish
Location
SimpleMBSDisplay
Simulation

2 Simulation
Fish
Environment
Location
Direction
Debug
EnvDisplay
Locatable
RandNumGenerator
SimpleMBSDemo1
SimpleMBSDemo2
MBSGUI
3 Fish (modified)    
4 DarterFish
SlowFish
   
5 (AB) Environment
BoundedEnv
UnboundedEnv
SquareEnv MBSGUI (further testing)

DataFiles
This folder contains a number of data files that provide initial configurations for fish in an environment. Each file in this folder specifies the dimensions of a bounded environment and the initial locations and directions for a number of fish. The case study narrative directs students to use several of these files, but they are encouraged to experiment with all of them. There is another folder inside the DataFiles folder called UnboundedEnvDataFiles, used in Chapter 5.

Documentation   (Class Documentation)
This folder contains documentation for all the classes in the case study whose implementation or class documentation students study. The documentation was created using the standard javadoc documentation tool. (For those coming to Java from C++, the class documentation created by this tool is similar to the information found in C++ header files.)

ExecutionInformation
This folder contains information (or pointers to information) about compiling and running the Marine Biology Simulation in a number of common environments, including DOS and UNIX/Linux/OS X command lines, CodeWarrior, JBuilder, JCreator, and TextPad.

Narrative
This folder is currently empty, but will contain two documents once they are finalized.