Write a parallel program to simulate the actions of the sharks and fish as described in Section XXXXXXXXXXThe parameters that are input are size of ocean, number of fish and sharks, their initial...


Write a parallel program to simulate the actions of the sharks and fish as described in Section 6.3.3. The parameters that are input are size of ocean, number of fish and sharks, their initial placement in the ocean, breeding ages, and shark starvation time. Adjacent cells do not include diagonally adjacent cells. Therefore, there are six adjacent cells, except for the edges. For every generation, the fishes’ and sharks’ ages are incremented by 1. Modify the simulation to take into account currents in the water.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here