Skip to content
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

Neighbourhood #33

Open
Melcar179 opened this issue Oct 26, 2022 · 1 comment
Open

Neighbourhood #33

Melcar179 opened this issue Oct 26, 2022 · 1 comment

Comments

@Melcar179
Copy link

Hello! First of all thanks for this great library. It's very helpful as I have only started working with automata. I would like to ask whether its possible to define my own neighborhood and not use neither Moore nor von Neummann. Thank you.

@lantunes
Copy link
Owner

Hello, and thank you for the message! I'm glad you find the library useful. Unfortunately, there isn't a way to specify alternative arrangements of neighbours in CellPyLib. For 2D CA, only Moore and von Neumann neighbourhoods are currently supported.

In order to make operations faster, CellPyLib constrains the topology of the network of cells, such that it must be a uniform grid. It also constrains the specification of cell neighbourhoods. If you'd like to work with CA on arbitrary networks, you might find the Netomaton library helpful, though currently it is less performant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants