You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I tried to implement the API glue for InPartS.jl with Agents.jl.
I made some progress but also encountered the following things:
Plotting seems to rely on agent.pos to give the position. InPartS uses :centerpos. So I had to implement a wrapper type.
I (of course) need to implement a Model wrapper type as well. This seems to need to have be of the form InPartSModel{Agents.ContinuousSpace{2}} <: Agents.AgentBasedModel{ContinuousSpace{2}}
I don't understand how time works in Agents. The data-collection for abmexploration appears to implicitly require time::Int (?) unless it is event-based but conceptually our models just have continuous time (adaptive time steppers)
As a consequence, what should I do to add something like the time stepping API?
side remark: In InPartS we found that is way more efficient if we provide self-generated meshes to Makie (rather than providing polygons)
In InPartS, there is by default, no mutable global set of parameters. I'm wondering if that defeats most of the purpose of the interactive tools.
The text was updated successfully, but these errors were encountered:
Tortar
added
example-integration
A new example or showcase of integration with the Julia ecosystem
support
Question about usage or clarity of features/documentation
and removed
example-integration
A new example or showcase of integration with the Julia ecosystem
labels
Oct 23, 2024
Hi,
I tried to implement the API glue for InPartS.jl with Agents.jl.
I made some progress but also encountered the following things:
Plotting seems to rely on
agent.pos
to give the position. InPartS uses:centerpos
. So I had to implement a wrapper type.I (of course) need to implement a Model wrapper type as well. This seems to need to have be of the form InPartSModel{Agents.ContinuousSpace{2}} <: Agents.AgentBasedModel{ContinuousSpace{2}}
I don't understand how time works in Agents. The data-collection for abmexploration appears to implicitly require time::Int (?) unless it is event-based but conceptually our models just have continuous time (adaptive time steppers)
As a consequence, what should I do to add something like the time stepping API?
side remark: In InPartS we found that is way more efficient if we provide self-generated meshes to Makie (rather than providing polygons)
In InPartS, there is by default, no mutable global set of parameters. I'm wondering if that defeats most of the purpose of the interactive tools.
Anyway, Here"s my WIP
The text was updated successfully, but these errors were encountered: