This is a simulation contains rabbits and wolves in a natural environment.
This was created as a part of our Bachelor's thesis project. More information about this can be found in our report found here: CSE_Bachelor_s_Thesis.pdf
This readme covers the following sections:
Tools used for development and analysis.
Install python packages with pip install -r requirements.txt
inside the Plotting folder. Run a script in Plotting
, it searches recursively for the log files from the directory the script is being ran from.
Run average.py
. opens an interactive graph. Searches for detailed.json
.
Run n_animals.py
. Searches for detailed.json
.
Run avg_fps.py
. plots fps. Searches for fps.csv
, overview.csv
, fps_baseline.csv
(the baseline fps to compare to).
java -jar plantuml.jar states.txt
in Meta/StateDiagrams
This section covers information about the simulation.
The time in the simulation is not a perfect model of reality. We do however want the relationships between the animals fertilties/pregnancy times to be correct. Therefore we have said that 12 hour in the game represents 1 month in real life. 1 day is therefore 2 months
https://en.wikipedia.org/wiki/Wolf https://www.nationalgeographic.org/media/growing-up-wolf/ Pregnancy time wolf 62-75 days Offspring amount 5-6 Fertility time after 2 years Generally can have 1 litter per year. Live for 5-12 years
https://en.wikipedia.org/wiki/Rabbit Pregnancy time rabbit 28-35 days Offspring average amount 5-6 but ranges from 2 to 10. Fertility time 5-8 months Can get pregnant the day after being pregnant...