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: add Boltzmann selection operator #83

Merged
merged 6 commits into from
Nov 12, 2022

Conversation

kkafar
Copy link
Collaborator

@kkafar kkafar commented Nov 12, 2022

Description

Added first implementation of Boltzmann selection operator.

Linked issues

Resolves #39

Important implementation details

General note to all operators implemented up to now: take notice that some of them work only when fitness is guaranteed to be >= 0 which is not always the case. This must be carefully documented and we should consider checking this invariant at runtime. (Roulette Wheel, Universal sampling...)

This implementation is inspired by article by Michael de la Maza "The Boltzmann selection Procedure" and "Introduction to Genetic Algorithms" book by S. N. Sivanandam & S. N. Deepa.

It takes initial temperature (tolerance) as a parameter & also uses information of generation number and some additional parameters.

@kkafar kkafar self-assigned this Nov 12, 2022
@kkafar kkafar merged commit ed74c88 into master Nov 12, 2022
@kkafar kkafar deleted the @kkafar/impl-boltzmann-selection branch November 12, 2022 23:35
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.

[GA] Implement Boltzmann selection operator
1 participant