Procedure FLACS
  Initialize
  For each loop
   Locate ants
   For each iteration
    For each ant
     If ant is active
       Construct probability
       Select route
       Update tabu list
     End
    Next ant
   Next iteration
   Update pheromone
  Next loop
  Select best direction
End FLACS
Algorithm 1: Proposed FLACS algorithm in pseudocode.