rht
rht
We don't need 2 separate methods. Only `place_agent` is needed, so that the library is simpler. To work on this, wait until #1240 is merged.
The class `Grid` has: - `neighbor_iter`: "Iterate over position neighbors" - `iter_neighborhood`: "Return an iterator over cell coordinates that are in the neighborhood of a certain point" - `iter_neighbors`: "Return...
Currently, `coord_iter` returns a tuple of `self.grid[row][col], row, col`. It results in this code in the Schelling example https://github.com/projectmesa/mesa/blob/9dfe32e6b64b3ecdef719bba57d3624a41b21e85/examples/schelling/model.py#L66-L68 The numbered accessor is not semantic. We should either - return...
What if, instead of ```python from mesa.time import RandomActivation self.schedule = RandomActivation(...) ``` we do ```python import mesa.time self.schedule = mesa.time.Random(...) # or, as per https://github.com/projectmesa/mesa/issues/1229 self.schedule = ma.time.Random(...) ```...
See https://github.com/projectmesa/mesa-geo/pull/40 > Change model.grid to model.space for better naming convention, since GeoSpace is not necessarily a grid. `model.space` is more general than `model.grid`. It doesn't make sense to say...
Original [comment](https://github.com/projectmesa/mesa/pull/1170#issuecomment-1048394845): > This means that if only .gitignore, CITATION.bib, LICENSE, *.ipynb, etc. are modified, the tests are still triggered. We may want to instead include *.py, *.js, *.yml, *.yaml,...
See e.g. https://github.com/projectmesa/mesa/blob/main/examples/wolf_sheep/wolf_sheep/server.py#L31 This feature was added via https://github.com/projectmesa/mesa/commit/da194e3556e7a8e61af05da3f726ef42ec7c7c0c, but is lacking documentation.
See the discussion surrounding https://github.com/projectmesa/mesa/pull/1162#issuecomment-1047697774.
**What's the problem this feature will solve?** Currently, the examples are non-deterministic by default. This makes beginners having to discover seeding on their own, somehow. **Describe the solution you'd like**...
To prevent the problem solved by #1012 from happening, a script to check for broken links can be used. There is already such script in Zulip repo that can be...