-
Notifications
You must be signed in to change notification settings - Fork 863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make connections in experiment cell spaces named #2060
Labels
feature
Release notes label
Comments
closed via #2296 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's the problem this feature will solve?
Currently the connections of Cell are stored as a list in
_connections
. While developing cell space, it was suggested to replace this with a dict with named connections. This would make it possible to get the cell to, e.g., the left or right, top or bottom in case of a von Neumann grid. Once connections are named, all kinds of other movements over the cell space are easily expressed.For example, it becomes trivial to retrieve all cells on a diagonal in a Moore grid.
Describe the solution you'd like
The largest challenge is to come to a clear naming of the connections. This is likely to be different across OrthogonalMooreGrid, OrthogonalVonNeumannGrid, and HexGrid. Moreover, it might not work for Network, and become tricky for n-dimensional grids
The text was updated successfully, but these errors were encountered: