Is it possible to layer various spaces in Agents.jl as can be done in Mason? For example, it is best to simulate herbivorous fish in continuous space, but they could be grazing on algae in a grid, which is the easiest way to simulate that. Using layers also greatly simplifies operations with multiple agent types. For example, a predator can ‘look’ into a prey space to see what is near enough to be eaten, but keeping predators and prey in separate layers simplifies processes like schooling.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Agents.jl: Establishing a new space type | 12 | 717 | February 22, 2023 | |
Agents.jl v3 | 3 | 585 | May 2, 2020 | |
Access to underlying GridSpace grid cells | 5 | 478 | June 13, 2023 | |
Heterogeneous space | 2 | 196 | November 15, 2023 | |
Nested agent based model | 7 | 820 | August 13, 2021 |