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

Add constructor with values to FloatingPointChromosome #33

Closed
mersadk opened this issue Jul 2, 2018 · 2 comments
Closed

Add constructor with values to FloatingPointChromosome #33

mersadk opened this issue Jul 2, 2018 · 2 comments

Comments

@mersadk
Copy link
Contributor

mersadk commented Jul 2, 2018

As it is now when ever you create instance of FloatingPointChromosome, it will randomly create gene values.

I have a case where I need to stop optimization at some time, save results to DB and resume it later. For this I need to be able to give gene values to FloatingPointChromosome.

If you are willing to merge, I'll create pull request with this fix.

@giacomelli
Copy link
Owner

This will be a good improvement to FloatingPointChromosome.
Yeah, you could create the pull request.

Thanks.

@mersadk
Copy link
Contributor Author

mersadk commented Jul 3, 2018

Done.

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

No branches or pull requests

2 participants