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

Selection-Variation Emitter #89

Draft
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

Lookatator
Copy link
Member

This PR aims at improving the flexibility of all variational operators, and combine them with the repertoire selector we want.

More specifically:

  • We introduce a SelectionVariationEmitter that separates the selector and the variation operator
  • All variation operators are divided into subcategories such as Mutation and CrossOver
  • We also have a VariationComposer for applying several variations sequentially
  • We provide an implementation for SBX and Recombination CrossOvers
  • All mutations have a mutation_rate that can be specified, and all cross-overs have a cross_over_rate. All of those are by default equal to 1.
  • For all variation operators, we can specify some values for minval and maxval, to automatically clip the parameters.

The UML diagram of the proposed structure is:
Untitled-2022-08-15-1205

TODOs left:

  • Tests
  • Documentation

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.

1 participant