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

Typo in the documentation of MBH #162

Open
flant8 opened this issue Apr 20, 2024 · 0 comments
Open

Typo in the documentation of MBH #162

flant8 opened this issue Apr 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@flant8
Copy link

flant8 commented Apr 20, 2024

Describe the bug
There is a typo in the pseudo code of MBH. The counter i should be equal to 0 when the best individual is improved and increase when
it is not. Indeed the stop_criteria is the maximum run of the UDA such that the best individual is not improved.
How I would modify the pseudo code:

> Select a pygmo population
> Select a UDA
> Store best individual
> while i < stop_criteria
> > Perturb the population in a selected neighbourhood
> > Evolve the population using the algorithm
> > if the best individual is improved
> > > update best individual
> > > i=0
> > else
> > > increment i 

Additional context
Not sure if a typo can be considered a bug. If not, sorry for reporting it as a bug.

@flant8 flant8 added the bug Something isn't working label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant