|
|
|
 |
 |
 |
|
Computer Science: Marine Biology Case Study Object Diagrams
|
|
|  | This file contains links to a number of diagrams that illustrate object interactions in the AP Computer Science Marine Biology Case Study.
In these object diagrams, each class is represented by a rectangle. Most of these diagrams show only the public and private member functions of the class, which appear in smaller rectangles. The public member functions, which represent the class interface, overlap the edge of the rectangle. The private member functions are encapsulated inside the class rectangle. The AquaFish object diagram shows public member functions and private data members; there are no private member functions in this class. The private data members are encapsulated inside the class rectangle, but do not appear in smaller rectangles.
Any member function in red has a link to another object diagram that illustrates the behavior and interactions of that function in more detail. (All links are listed in "More" below.) The rectangle labeled main in the Top-Level Interactions diagram, which does not represent a class, is a representation of the implementation file containing the main function, fishsim.cpp.
- The AquaFish Class
- Environment Construction
- Top-Level Interactions of the Simulation
- Simulation::Step
- Fish::Move
- Fish::EmptyNeighbors
- Environment::IsEmpty
- Environment::Update
- Display::Show
|
|
|
|
|
|