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

Elitist mutation #159

Merged
merged 2 commits into from Jan 12, 2021
Merged

Elitist mutation #159

merged 2 commits into from Jan 12, 2021

Conversation

rogiervandergeer
Copy link
Collaborator

This adds a flag to let mutate behave elitist, i.e. never mutate any individual with a fitness equal to that of the best fitness.

evol/evolution.py Show resolved Hide resolved
@koaning
Copy link
Contributor

koaning commented Jan 12, 2021

I've approved the changes but @rogiervandergeer could you make sure that the CI passes before you hit merge? Once it's merged and all green I can make a push to pypi.

@koaning
Copy link
Contributor

koaning commented Jan 12, 2021

I'm posting this here because I know you're working on this.

@rogiervandergeer seen this?

https://github.com/4dcu-be/Genetic-Art-Algorithm

@rogiervandergeer
Copy link
Collaborator Author

Nice! Hadn't seen

@rogiervandergeer rogiervandergeer merged commit 30b2fbd into master Jan 12, 2021
@koaning koaning deleted the elitist-mutation branch January 12, 2021 09:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants