Developping the code
I recommend to first clone your branch in the directory you like best, and then to To develop, you ca
using Pkg
Pkg.dev("path_to_ABMEv_dir")
You can also do the same trick with directly the gitlab address, cf Pkg.jl
Future directions
- Try to improve parallelism with the help of Threads.@Threads and @inbounds (cf tutorial )
- Make use of CUDA.jl to accelerate the simulations wih the use of GPU.
Todo
abstract type AbstractAgent{A<:Ancestors,R<:Rates} end
It seems that we do not need to have the Rates{}
parameter for Agent
type.
Notes
Numerics
:warning: Don’t pass expressions, or strings, pass functions
Birth and Death mechanisms
<!– > We are always balanced between taking the integral of the competition and resource kernel as constant, or taking its maximum peak as constant. –>
<!– :poop: –>
Geotrait
The geotrait is calculated a posteriori, and is not taken into account during the simulation.
It used to be but for the sake of simplicity we now forget about it.