Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@wenzeslaus wenzeslaus released this 02 Dec 21:23
· 41 commits to main since this release
f8c2e31

Added

  • Network kernel. (Vaclav Petras)
  • Established dispersers from a cell are now tracked. (Chris Jones)
  • Collection of general-use function for container handling for internal use.
  • Template parameter for random number generator to Model and Simulation.
  • New frequency values, every_step and time_step, can be used to schedule action every step of the simulation. (Vaclav Petras)
    • This was implemented in rpops for simple cases. The new version in Core supports all unit and n combinations for the simulation step.

Changed

  • Virtual functions are used to switch between kernels instead of an ever-growing if-else statement. (Vaclav Petras)
    • This is possibly faster and it has additional cost only when compared to hardcoded simple kernels.
    • New code is potentially 4 times faster as measured with r.pops.spread in #152.
    • Kernel parameters don't need to be provided anymore when the kernel is not used.
    • Opens door for adding many kernels in a flexible way.
  • Anthropogenic kernel is now different from natural kernel and contains one network kernel. (Vaclav Petras)

Fixed

  • Fixed and completed documentation of function parameters. (Vaclav Petras)

Full Changelog: v1.1.0...v2.0.0