JuliaDynamics / Agents.jl

Agent-based modeling framework in Julia
https://juliadynamics.github.io/Agents.jl/stable/
MIT License
725 stars 117 forks source link

Export `add_agent_to_model!` and `remove_agent_from_model!` #877

Closed Tortar closed 12 months ago

Tortar commented 12 months ago

This would create a way to do what is described in https://github.com/JuliaDynamics/Agents.jl/issues/719 and https://github.com/JuliaDynamics/Agents.jl/pull/720. Also we should export not the current functions which accept an agent, but new versions similar to the non deprecated versions of add_agent!.

Then we can add an example describing this use case in the docstring of the methods.

Tortar commented 12 months ago

not planned