Computational Intelligence and Neuroscience / 2013 / Article / Psdc 2

Research Article

A Novel Bat Algorithm Based on Differential Operator and Lévy Flights Trajectory

Pseudocode 2

Input: Objective function ; algorithm’s parameters ;
BEGIN
For To do
  Initialize , , ;
  Calculating the initial fitness;
End For
While ( )
  Update position use formula (8)~(12);
  Evaluate fitness to find ;
  For To do
   If (rand )
    Generate a around the selected best solution use formula (2);
   End If
  End For
  Evaluate fitness ;
  For To do
   If rand )
    Generate a around the selected best solution use formula (13);
   End If
  End For
  Evaluate fitness ;
  If ( )
    Update , use formula (3), (14);
  End If
   = ;
 End While
END
Output: ;