Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Persefone.jl
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Persefone
Persefone.jl
Commits
434e8dc6
Commit
434e8dc6
authored
11 months ago
by
xo30xoqa
Browse files
Options
Downloads
Patches
Plain Diff
Updated changelog
parent
2b95ba02
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CHANGELOG.md
+26
-2
26 additions, 2 deletions
CHANGELOG.md
with
26 additions
and
2 deletions
CHANGELOG.md
+
26
−
2
View file @
434e8dc6
...
...
@@ -8,9 +8,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [v0.5.0] - unreleased
This release doesn't add much new functionality, but represents a major restructuring
of the code base. Specifically, it removes the Agents.jl dependency and changes the
way the species definition macros work and are used.
### Added
-
`SimulationModel`
struct
-
`SimulationModel`
type, extended by
`AgricultureModel`
struct
-
`@create`
macro defines a special phase function that is called when an individual
animal is created (at birth or on model initialisation)
-
functions to replace Agents.jl functionality:
-
`move!()`
and
`walk!()`
-
`nearby_ids()`
,
`nearby_animals()`
,
`neighbours()`
-
`directionto()`
,
`distanceto()`
,
`randomdirection()`
-
large logo and model structure diagram
...
...
@@ -20,12 +32,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-
`SimulationModel`
replaces
`AgentBasedModel`
-
Species definition macros revamped:
-
`@species`
now only defines parameters and variables and creates a mutable struct
-
`@phase`
must now be defined in the top-level code and creates a global function
-
`@initialise`
renamed to
`@populate`
, must also be called in the top-level code
-
`initindividual()`
renamed to
`create!()`
-
Skylark, Wolpertinger, and Wyvern updated to match the new macros
### Deprecated
### Removed
-
Agents.jl dependency (including
`AgentBasedModel`
and functions for adding/moving/removing agents)
-
`countanimals()`
and
`@countanimals()`
### Fixed
...
...
@@ -74,7 +96,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- Template
## [Unreleased]
## [Unreleased] - <date>
<comments>
### Added
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment