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

Remove AbstractODRule and AbstractTDRule types in favor of functions #9

Open
MartinuzziFrancesco opened this issue Dec 1, 2022 · 0 comments

Comments

@MartinuzziFrancesco
Copy link
Owner

the need for the one dimensional and two dimensional types is to dispatch over the CellularAutomaton function, but it's restricting in creating new CAs, since they need to be built through a struct and the type. The rule only takes in the array of initial conditions anyway.

It is possible to change the evolution container to always be 3 dimensional and resize it at the end with a check is one of its dims is 1.

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

1 participant