Initialize the population of solutions ,
Evaluate ,
repeat
 Run the DABC employed bee phase, (Pseudocode 3)
 Run the DABC onlooker bee phase, (Pseudocode 4)
 Run the DABC scout bee phase, (Pseudocode 5)
 Save the best results,
  until termination condition satisfied,
Pseudocode 2: The DABC algorithm pseudocode.