0% found this document useful (0 votes)
28 views7 pages

Modelling The Ecosystem of Rossumøya: Torjus Strandenes Moen & Bastian Undheim Øian

Uploaded by

rvetle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views7 pages

Modelling The Ecosystem of Rossumøya: Torjus Strandenes Moen & Bastian Undheim Øian

Uploaded by

rvetle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MODELLING THE ECOSYSTEM OF

ROSSUMØYA

Tor jus Strandenes Moen &


Bastian Undheim Øian
The Code
◦ Object oriented programming

◦ 3 main classes

◦ Animals, and their attributes

◦ Cell biomes: Water, Desert, Lowland & Highland

◦ Island, map of cells, report adjacent cells

◦ Birth, Death, Eating, Migration


Testing
◦ Making the best code

◦ Gold standard of testing – 85%

◦ Minimum one test/function

◦ Minimum one test/if statement

◦ Create imposter objects to test

◦ Mocker module to ensure outcomes


Improvements
◦ Optimization
◦ Faster visualization
◦ Readability

◦ GUI
◦ Serialization
Project features
Sphinx License

◦ Documentation for all modules ◦ GNU GPL-3.0-or-later


◦ Advanced features ◦ COPYING
◦ example code boxes ◦ Copyright notice in all source files
◦ note boxes
◦ warning boxes
◦ mathematics
◦ images, figures and logo
Project features
Build package Tox

◦ Can build a package ◦ Tests files and flake8


◦ python -m build ◦ Gitlab test runner
Visualization
◦ Year counter
◦ Map
◦ Line graph
◦ Population distribution
◦ Histograms

◦ Could be faster
◦ Could look nicer

You might also like