Implemented the functions needed for Agents.jl
This is a major commit, probably quite a bit too big... However, all the pieces here depended on each other, so I had to get it all working at the same time. The model now includes: 1. reading in map data 2. creating an Agents.jl model object 3. initialisation and stepping functions for the whole model 4. a basic skeleton of nature.jl 5. an example animal species (the Wolpertinger ;-) )
Showing
- src/Persephone.jl 8 additions, 6 deletionssrc/Persephone.jl
- src/core/input.jl 2 additions, 0 deletionssrc/core/input.jl
- src/core/simulation.jl 47 additions, 13 deletionssrc/core/simulation.jl
- src/crop/crops.jl 29 additions, 0 deletionssrc/crop/crops.jl
- src/farm/farm.jl 26 additions, 0 deletionssrc/farm/farm.jl
- src/nature/nature.jl 78 additions, 0 deletionssrc/nature/nature.jl
- src/nature/wolpertinger.jl 34 additions, 0 deletionssrc/nature/wolpertinger.jl
- src/parameters.toml 1 addition, 1 deletionsrc/parameters.toml
Loading
Please register or sign in to comment