Research Article

Extracting T–S Fuzzy Models Using the Cuckoo Search Algorithm

Pseudocode 1

begin
Choose an objective function ;
Generate initial population of n host nests ;
While  (stop criterion);
Get a cuckoo (say ) randomly by Lévy Flights;
Calculate its fitness ;
Choose a nest among (say ) randomly;
If  ,
Change by the new solution;
end if
A probability of worse nests is abandoned and new solutions are made;
Conserve the best solutions;
Classify the solutions and find the current best;
end while
end