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

Support for asynchronous update schemes #58

Open
mvrozanti opened this issue Aug 30, 2019 · 3 comments
Open

Support for asynchronous update schemes #58

mvrozanti opened this issue Aug 30, 2019 · 3 comments
Assignees
Labels

Comments

@mvrozanti
Copy link

mvrozanti commented Aug 30, 2019

Great project, specially for beginners such as me, it helps a lot!

I was wondering if async updates would be a wanted feature. Such as is described here

Thanks!

@ghjansen
Copy link
Owner

ghjansen commented Aug 31, 2019

Thank you @mvrozanti I'm glad you like it!
It is always good to discover people who appreciate Cellular Automata.

Yes, async is not only wanted but it is a must, I would dare to say. The status quo is explicit time, sequential algorithm and a good number of bottle necks to eliminate, in terms of time complexity and design. There is always room for improvement.

I dare to say also that your question is possibly part of the Parallelism Project, which should take into account the various ways of iterating CA efficiently. I have some ideas on that matter, more like a hybrid conception of time, but I'm focusing at the GUI now, as this is a blocker for all next features.

Perhaps you can hack on the project and share your thoughts :)

@ghjansen ghjansen self-assigned this Aug 31, 2019
@mvrozanti
Copy link
Author

I made a few tweaks to the GUI, replacing the JTextField for JSliders on rule number, cell space count and iteration count. Helps me go through the rules more quickly 😄

As per the async updates, I wasn't actually thinking of adding parallelism but rather a new kind of Rule that adds a priority "rank" for neighbouring cells, updating the space cell-by-cell, from highest priority to lowest (more description here).

@ghjansen
Copy link
Owner

ghjansen commented Sep 1, 2019

Cool! I know sliders are used sometimes in that regard.

I see. I apologise my misunderstanding on that. Since I'm not familiar with this concept yet, I will have to study it before anything else.

Supporting such feature is not considered a priority by now, but I surely believe it is something interesting to have in the future. If you feel like trying, feel free to go ahead and let me know if you have any questions I may be able to answer about the project.

I will leave this issue open as it claims a potential contribution ahead.
Thank you once again for your interest!

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

No branches or pull requests

2 participants