Closed jdm204 closed 1 month ago
ooh, yes, I totally agree, surely we should support this, but we should also support Union
s (already tracked in #1015) for feature parity with the discrete ABM model. There was a previous iteration where we had support for all of this (but not multiagent) so it is just needed to find the differences and reapply them where needed: https://github.com/JuliaDynamics/Agents.jl/blob/b865a6e2486c7a3259b56a84fff7e8c105356ac0/src/core/model_event_queue.jl
Describe the bug I'm trying out the new EventQueueABM functionality, and I get an error that my agent wasn't created with the
@multiagent
macro, which is true, but I just have a single agent type with no need forUnion
or@multiagent
.Minimal Working Example
ERROR: ArgumentError: Agent of type Foo has not been created via
@multiagent
.Agents.jl version
Agents v6.0.13
https://github.com/JuliaDynamics/Agents.jl.git#8c36b50
Julia 1.10.3