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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Copy link
Owner

giacomelli commented Jul 3, 2018

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

Thanks.

@mersadk

This comment has been minimized.

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
You can’t perform that action at this time.