MRC-CSO-SPHSU / UKSEABMLib.jl

MIT License
1 stars 1 forks source link

Exact API of Simulation functions #28

Closed AtiyahElsheikh closed 1 year ago

AtiyahElsheikh commented 1 year ago

Version 0.2.3 accomplished a first draft of NewSimulate module addressed in #2

Further tuning across all simulation functions is to follow the following API:

doX!(model, time) # no need for doX!(model, time, parameters)

funcX!(agent, time, model) # no need for an extra argument for parameters

AtiyahElsheikh commented 1 year ago

it is now

do_x!(model, time, popfeature = AlivePopulation(), ret = nothing)

x!(model, time, popfeature = FullPopulation())::Bool