资 源 简 介
About This Coursework
This is source code to perform a frog simulation under simulation by using parallel programming under below terms:
The Biologists’ Model
The biologists are studying a population of frogs which is suffering from a disease (purple tongue frog disease). They have designed a model based on empirical (experimental) observations of the frogs, and they would like to build a parallel simulation to test out their model and to help them construct theories about how the disease spreads.
Their model of the problem is as follows:
Frogs can move about their environment.
A frog’s current position in the environment is described by a co-ordinate pair, (x, y). A frog moves by hopping to a new position.
Frogs can be born.
o In the simple model, all frogs can give birth to other frogs.
o New frogs start in the same position as the parent frog.
o A frog can move as soon as it is born. The