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

A question #8

Open
Maryom opened this issue Oct 2, 2017 · 0 comments
Open

A question #8

Maryom opened this issue Oct 2, 2017 · 0 comments

Comments

@Maryom
Copy link

Maryom commented Oct 2, 2017

Hi,

Thanks for your efforts on this great repo.

In CS.py in the main loop, I understood the following:

new_nest=get_cuckoos(nest,bestnest,lb,ub,n,dim) is equivalent to
Move a cuckoo randomly via Levy flights in CS pseudo code.

Then, fnew,best,nest,fitness=get_best_nest(nest,new_nest,fitness,n,dim,objf) is equivalent to
Evaluate its fitness Fi

Next, new_nest=empty_nests(new_nest,pa,n,dim) is equivalent to
Randomly choose nest among n available nests

My question is:

Where is this step 👇🏼 ? I didn't find it in the code:
if (Fi > Fj) replace j by the new solution

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

No branches or pull requests

1 participant