The Scientific World Journal / 2012 / Article / Alg 3

Research Article

A Bat Algorithm with Mutation for UCAV Path Planning

Algorithm 3

Bat algorithm with mutation.
 Step 1: Initialization. Set the generation counter ; Initialize the population of NP
   bats P randomly and each bat corresponding to a potential solution to the
   given problem; define loudness ; set frequency and the initial velocities ;
   set pulse rate and weighting factor .
 Step 2: Evaluate the quality for each bat in determined by .
 Step 3: While the termination criteria is not satisfied or MaxGeneration do
      Sort the population of bats P from best to worst by order of quality f for each bat;
      for    : NP (all bats) do
        Select uniform randomly
        if (rand ) then
        end if
        Evaluate the fitness for the offspring , ,
        Select the offspring with the best fitness among the offsprings
          , ,
        if (rand ) then
        end if
      end for  
 Step 4: end while
 Step 5: Post-processing the results and visualization;

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.