Courses/CS 461/Winter 2006/Jesse Zwerling/Homework 3

From CSWiki

Jump to: navigation, search

For homework three I created ocean.nlogo.

This is an attempt to model an ecosystem that is somewhat more complex than the models downloaded with netlogo; wolf-sheep predation, and rabbits, wees, grass.

I wanted to try different constraints than those models. In my homework, I model a small ecosystem of fish, with kelp at the bottom of the food chain, and a shark at the top of the food chain, with four different types of fish in between.

Settings; the user can set the initial number of fish, as well as the maximum age of a given type of fish. All types of fish have the same reproduction rate; this is assumed to be a property common to all fish, based upon climate or other environmental factors.

The user can determine whether each fish can only eat the next smalles size of fish, or if a fish can eat any of the fish that are smaller than it.


source code here


Image:Ocean.jpg

Personal tools