Research Article

Parameter Estimation of Photovoltaic Models via Cuckoo Search

Pseudocode 1

Pseudocode of the Cuckoo Search (CS) [19].
Cuckoo Search via Lévy Flights
Initialization of host nests (population)
while within the stopping criterion,
   Choose a cuckoo egg by Lévy flights and evaluate
   its fitness ;
   Choose an egg in other’s nest randomly and
    calculate its fitness ;
   If , replace jth egg by ith egg;
   A fraction of worse nests are demolished and
    replaced by new ones;
   Preserve good nests (best solutions).
end while