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

Refactor local search #36

Merged
merged 2 commits into from
May 8, 2024
Merged

Refactor local search #36

merged 2 commits into from
May 8, 2024

Conversation

foolnotion
Copy link
Member

The motivation for this PR is to decouple the evaluator operator from local search. The evaluator should have no side effects, it should just produce fitness values.

For now, local search functionality has been moved into the offspring generator, but it would probably be a good idea to make it into an independent LocalSearchOperator.

Two new CLI parameters are introduced:

  • local_search_probability: allows local search to be applied with a probability
  • lamarckian_probability: specifies the probability that the optimized coefficients are written back to the tree individual.

@foolnotion foolnotion merged commit 4d1d10f into main May 8, 2024
1 check passed
@foolnotion foolnotion deleted the local-search-refactor branch May 8, 2024 16:12
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