-
Notifications
You must be signed in to change notification settings - Fork 222
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 toMove 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 toEvaluate its fitness Fi
Next,
new_nest=empty_nests(new_nest,pa,n,dim)
is equivalent toRandomly 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
The text was updated successfully, but these errors were encountered: