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

feat!: change crossover API & move crossover implementations into separate modules #476

Merged
merged 16 commits into from
Apr 24, 2024

Conversation

kkafar
Copy link
Collaborator

@kkafar kkafar commented Apr 24, 2024

Description

  • Set min. size of tournament to 1 in Tournament crossover op
  • Move implementation of each crossover operator to separate module
  • Remove unused imports
  • Import warnings
  • Update signature of crossover
  • Fix tests in impls module
  • Migrate UniformParameterized
  • Migrate Uniform and update comments
  • Migrate another few crossover impls
  • Migrate rest of operators, examples & tests

This PR follows: kkafar/master-monorepo#236
See the link for full discussion on these changes.

Linked issues

Closes #470

Important implementation details

@kkafar kkafar changed the title feat!: change crossover API & move operator implementations behind feature flags feat!: change crossover API & move crossover implementations into separate modules Apr 24, 2024
@kkafar kkafar self-assigned this Apr 24, 2024
Copy link
Collaborator Author

@kkafar kkafar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't checked whether all documentation comments do make sense after changes. <-- TODO

@kkafar kkafar merged commit 4a63ed7 into main Apr 24, 2024
5 checks passed
@kkafar kkafar deleted the @kkafar/change-crossover-trait branch April 24, 2024 19:20
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.

feat!: change operators singatures so that selection/crossover can work on arbitrary number of individuals
1 participant