Thanks to visit codestin.com
Credit goes to github.com

Skip to content

janmarczak/Predator_Prey_Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Grassland ecosystem simulation

A predator-prey simulation involving wolves, coyotes, rats frogs, rabbits and grasshoppers in their somewhat natural habitat. In a simplified manner they age, get hungry, eat, move, breed, react to external factors that are currently happening and die from various reasons. The simulation takes place on a rectangular field which is covered in plants. The animals can be either carnivores such as wolves, coyotes, rats, frogs and eat other species,
or herbivores like rabbits, grasshoppers and be dependent on plants.

Authors:

Jan Marczak & Andras Horvath

Running Instructions

1) Create a Simulator object.
Then call one of:
    + simulateOneStep - for a single step.
    + simulate - and supply a number (say 10) for that many steps.
    + runLongSimulation - for a simulation of 500 steps.
    
2) Call static method void main(String[] args) from StartSimulation class
   to run a long simulation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages