We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The webworkers in genetic.js have no way of stopping. The code has to finish all iterations.
I already tried to use close() and terminate(), but they don't seem to work.
it's possible to completely get rid of the webworkers, since they're not really necessary for this small problem.
Perhaps this can help: https://github.com/lodenrogue/genetic-algorithm-js
or https://github.com/panchishin/geneticalgorithm
The text was updated successfully, but these errors were encountered:
Solution is to use setTimeout with a regular 'pause' so the worker can be interrupted.
Sorry, something went wrong.
5a051ae
blonkm
No branches or pull requests
The webworkers in genetic.js have no way of stopping. The code has to finish all iterations.
I already tried to use close() and terminate(), but they don't seem to work.
it's possible to completely get rid of the webworkers, since they're not really necessary for this small problem.
Perhaps this can help: https://github.com/lodenrogue/genetic-algorithm-js
or https://github.com/panchishin/geneticalgorithm
The text was updated successfully, but these errors were encountered: