We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Thanks for your efforts on this great repo.
In CS.py in the main loop, I understood the following:
CS.py
new_nest=get_cuckoos(nest,bestnest,lb,ub,n,dim) is equivalent to Move a cuckoo randomly via Levy flights in CS pseudo code.
new_nest=get_cuckoos(nest,bestnest,lb,ub,n,dim)
Move a cuckoo randomly via Levy flights
Then, fnew,best,nest,fitness=get_best_nest(nest,new_nest,fitness,n,dim,objf) is equivalent to Evaluate its fitness Fi
fnew,best,nest,fitness=get_best_nest(nest,new_nest,fitness,n,dim,objf)
Evaluate its fitness Fi
Next, new_nest=empty_nests(new_nest,pa,n,dim) is equivalent to Randomly choose nest among n available nests
new_nest=empty_nests(new_nest,pa,n,dim)
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
if (Fi > Fj) replace j by the new solution
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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: