neorl.evolu.cs
A module for the Cuckoo Search Algorithm with parallel computing support.
Original paper: Yang, X. S., & Deb, S. (2009, December). Cuckoo search via Lévy flights. In 2009 World congress on nature & biologically inspired computing (NaBIC) (pp. 210-214). IEEE.
- Multi processing: ✔️
- Discrete spaces: ✔️
- Continuous spaces: ✔️
- Mixed Discrete/Continuous spaces: ✔️
CS
- CS algorithm is based on the obligate brood parasitic behavior of some cuckoo species in combination with the Levy flight behavior of some birds and fruit flies. CS assumes each cuckoo lays one egg at a time, and dump its egg in randomly chosen nest. Also, the best nests with high quality of eggs will carry over to the next generations.
pa
controls exploration/exploitation of the algorithm, it is the fraction of the cuckoos/nests that will be replaced by new cuckoos/nests. In this case, the host bird can either throw the egg away or abandon the nest, and build a completely new nest.ncores
argument evaluates the fitness of all cuckoos in the population in parallel. Therefore, setncores <= ncuckoos
for most optimal resource allocation.- Look for an optimal balance between
ncuckoos
andngen
, it is recommended to minimize the number ofncuckoos
to allow for more updates and more generations. - Total number of cost evaluations for CS is
2*ncuckoos
*(ngen + 1)
.