The Scientific World Journal / 2014 / Article / Alg 1

Research Article

A Novel Adaptive Cuckoo Search for Optimal Query Plan Generation

Algorithm 1

Pseudocode for Cuckoo search.
Generate an initial population of host nests;
while () or (stop criterion)
  Get a cuckoo randomly () and replace its solution by performing Levy flights;
  Evaluate its fitness
  Choose a nest among () randomly;
  if ()
    Replace by the new solution;
  end if
  A fraction () of the worse nests is abandoned and new ones are built;
  Keep the best solutions/nests;
  Rank the solutions/nests and find the current best;
  Pass the current best to the next generation;
end while

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19. Sign up here as a reviewer to help fast-track new submissions.