Aman Bihari

Results comments of Aman Bihari

> In a city simulation, a `Building` (`FixedAgent`) might be demolished to make space for a new `Park`. > > **Remove from Space (`cell = None`)** The grid cell must...

You can contribute it [here](https://github.com/mesa/mesa-examples/)

> by drawing on some of the ideas from `NumpyAgentSet` Yes that was the inspiration behind it and I guess you also mentioned it somewhere >I have been meaning to...

I ran the exact same MRE and I got this ```plaintext /home/aman/mesa/mesa/discrete_space/grid.py:100: UserWarning: Random number generator not specified, this can make models non-reproducible. Please pass a random number generator explicitly...

> There is nothing stopping us from using this approach in continuous space as well. There is just a clear memory cost, and which is better (20% growth or doubling)...

Min of 10,000 runs For GROWTH_FACTOR = 0.2 | Initial Array Size | `np.vstack` | Pre-allocation | Speedup | |----------------------|---------------|------------------|-----------| | 10 | 0.0003774s | 0.0001056s | **3.57x** | |...

Its already there, checkout https://mesa.readthedocs.io/stable/tutorials/0_first_model.html

Checkout https://colab.research.google.com/github/mesa/mesa/blob/main/docs/tutorials/0_first_model.ipynb