Replies: 2 comments 2 replies
-
You probably looked at the examples here or on read the docs which defaults to latest instead of stable. As part of 3.2 development, we are stablizing the new cell spaces. However, in 3.14, they are still located in |
Beta Was this translation helpful? Give feedback.
-
I notice that you have a size parameter in your agent_portrayals. I have been working on a model that includes optimizing the placement of buildings / benches in a campus environment. My present understanding is that mesa does not define the size / shape of individual agents relative to the space. If you have a custom implementation or if I'm missing something I would love to hear about it. I'm also happy to share more of my thoughts on this question if you're interested. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am currently working on a project (fishers at sea) and I wanted to use the property layer portrayal (to display the fish stock available in each cell).
For some context: I had started this project using a MultiGrid, and while it runs, the property layer portayal that I defined doesnt show (I just have a blank background when I should have a something blue):
My little fishers are here and moving correctly according to the carrying capacity layer I defined, but it doesn't display.
So i decided to switch to a OrthogonalVonNeumannGrid as it is the only grid used in the examples I saw that use the propertylayer portrayal (sugarscape, GoL, etc.).
My problem is:
from mesa.discrete_space import OrthogonalVonNeumannGrid from mesa.discrete_space.property_layer import PropertyLayer
doesn't work because mesa.discrete_space is not found.
I am working with Mesa 3.1.4 and Python 3.11.9
I had understood from the recent commits that discrete_spae had been moved in the main code, but maybe not yet ?
And is it possible to display property layers using a multigrid and not a OrthogonalVonNeumannGrid ?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions