From 8e19b47c7e671f28c8b702c993e792e25f920975 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Sun, 22 Sep 2024 09:41:15 +0200 Subject: [PATCH] Update HISTORY.md: Last changes for 3.0.0a5 --- HISTORY.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index d071567da29..bd09be82b38 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -18,7 +18,9 @@ self.datacollector = DataCollector( ) ``` -Furthermore, a new `shuffle_do()` method for AgentSets provides a faster way to perform `shuffle().do()` ([#2283](https://github.com/projectmesa/mesa/pull/2283)). The GroupBy class gained `count()` and `agg()` methods to count the number of agents in groups and aggregate variables of them ([#2290](https://github.com/projectmesa/mesa/pull/2290)). The `CellCollection.select` method was updated to use `at_most` instead of `n`, aligning with the AgentSet API ([#2307](https://github.com/projectmesa/mesa/pull/2307)). Additionally, the Cell class now features a dedicated `neighborhood` property for direct neighbors (default radius=1) and a `get_neighborhood` method for larger radii ([#2309](https://github.com/projectmesa/mesa/pull/2309)). +Furthermore, a new `shuffle_do()` method for AgentSets provides a faster way to perform `shuffle().do()` ([#2283](https://github.com/projectmesa/mesa/pull/2283)). The GroupBy class gained `count()` and `agg()` methods to count the number of agents in groups and aggregate variables of them ([#2290](https://github.com/projectmesa/mesa/pull/2290)). + +In the experimental Cell Space, the `CellCollection.select` method was updated to use `at_most` instead of `n`, aligning with the AgentSet API ([#2307](https://github.com/projectmesa/mesa/pull/2307)). Additionally, the Cell class now features a dedicated `neighborhood` property for direct neighbors (default radius=1) and a `get_neighborhood` method for larger radii ([#2309](https://github.com/projectmesa/mesa/pull/2309)). Finally, SolaraViz received updates improving its interface and performance ([#2299](https://github.com/projectmesa/mesa/pull/2299), [#2304](https://github.com/projectmesa/mesa/pull/2304)). Cell connections in grids and networks are now public and named for more intuitive agent movements ([#2296](https://github.com/projectmesa/mesa/pull/2296)). The Model class initialization process was simplified by moving random seed and random object creation to `__init__` ([#1940](https://github.com/projectmesa/mesa/pull/1940)). Documentation has been extensively updated, including enforcing Google docstrings ([#2294](https://github.com/projectmesa/mesa/pull/2294)) and reorganizing the API documentation ([#2298](https://github.com/projectmesa/mesa/pull/2298)) for better clarity and navigation. @@ -33,13 +35,17 @@ While the Mesa 3.0 timeline is still being discussed, we're aiming at the first * Make cell connections public and named by @Corvince in https://github.com/projectmesa/mesa/pull/2296 * SolaraViz Updates by @Corvince in https://github.com/projectmesa/mesa/pull/2299 * Solara viz: use_task for non-threaded continuous play by @Corvince in https://github.com/projectmesa/mesa/pull/2304 +### ๐Ÿงช Experimental features * Update to CellCollection.select by @quaquel in https://github.com/projectmesa/mesa/pull/2307 +* Have a dedicated neighborhood property and a get_neighborhood method on Cell by @quaquel in https://github.com/projectmesa/mesa/pull/2309 ### ๐Ÿ“œ Documentation improvements * Enforce google docstrings by @quaquel in https://github.com/projectmesa/mesa/pull/2294 * Api docs by @quaquel in https://github.com/projectmesa/mesa/pull/2298 * update migration guide to describe solaraviz updates by @Corvince in https://github.com/projectmesa/mesa/pull/2297 * Migration Guide: Add Model initialization requirement and automatic Agent.unique_id assignment by @EwoutH in https://github.com/projectmesa/mesa/pull/2302 * Deprecate Time module and all its Schedulers by @EwoutH in https://github.com/projectmesa/mesa/pull/2306 +* intro_tutorial: Don't initialize agents with an unique_id by @EwoutH in https://github.com/projectmesa/mesa/pull/2315 +* Migration guide: Intro, upgrade strategy, model.agents, headers by @EwoutH in https://github.com/projectmesa/mesa/pull/2314 ### ๐Ÿ”ง Maintenance * make typing behavior of AgentSet.get explicit by @quaquel in https://github.com/projectmesa/mesa/pull/2293 * model: Move random seed and random to __init__ by @rht in https://github.com/projectmesa/mesa/pull/1940