Comments (3)
Looks like it was changed in #1575 and #1581 by @Tortar early this year. Maybe he can give some more details on the motivation and implementation nuts and bolts.
from mesa.
Hi, the motivation to make Grid private was mainly due to the fact that only SingleGrid and MultiGrid should be used. For the same reasoning the HexGrid should have been splitted in two versions. To keep retrocompatibility though a simple subclassing trick was used so that to make HexGrid still usable. But when 2.0 was released, the HexGrid class could have been dropped
from mesa.
Ah also, class HexSingleGrid(_HexGrid, SingleGrid):
shouldn't be removed, make it possible to use an HexGrid + max 1 agent per position
from mesa.
Related Issues (20)
- JupyterViz: after changing parameters, play button does not work HOT 2
- JupyterViz: allow customizing the controls/display for a single model, e.g. to display status (running/converged) HOT 1
- phoneinfoga error: could not open requirements file: [errno 21] is a directory: 'requirements.txt' HOT 2
- JupyterViz / Solara visualisation doesn't work in JetBrains PyCharm/DataSpell Jupyter notebooks HOT 6
- mesa.visualization.chartmodule doesn't work HOT 6
- jupyterviz agent space and measures flash on mesa 2.1.4 HOT 2
- TyperError when model reporter is a partial function
- Proposal: Adding Cell Properties to Grids in Mesa HOT 22
- Latest Mesa build is failing on conda-forge HOT 7
- Enable DiscreteEventScheduler to handle system-level events and task interruptions
- Add Voronoi tessellation space HOT 13
- Add Triangle mesh space
- Proposal: Formal neighborhood definition for grids HOT 42
- Proposal: Flexible move_agent method that allows multiple movement strategies HOT 5
- Proposal: Agent selection method HOT 7
- JupyterViz: disabled space drawer is ignored when rendering in the browser HOT 1
- jupyterviz: best practices for model layout HOT 1
- best practices / example for parameter sweep with batch runner HOT 15
- AttributeError: 'Model' object has no attribute 'agents' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mesa.