Research Article

Two-Parameter Inversion of Fluid-Saturated Porous Medium with Niche Ant Colony Algorithm

Algorithm 1

Niching ant colony optimization based on the fitness-sharing principle.
procedure Initialization
  (i) Parameters Initialization:: such as population size , the global transition
probability , the evaporation coefficient of pheromone , the proportional factor
, the feasible region , and the radius of niche (Obtained from the
Formula (8));
  (ii) Population Initialization
    for    to do
       ; (The initial position of ants)
       FitnessValue ; (The fitness value before sharing, where is
the optimization function)
     end
end procedure
while stopping criterion not met do
   De-rate quality;
   Calculate transition probability;
   Update positions of ants (in the feasible region);
   Update pheromones;
end while
procedure De-rate quality
    for to do
    
    for to do
      
       if  then
      
       else
      
       endif
       
       end for
       (The fitness value after
sharing)
   end for
end procedure
procedure Calculate transition probability
   ; (The initial pheromone)
   ;
  For   to   do
   
  end do
  For   to   do
    If
     
    else
     
   endif
   if  
          ;
      elseif  
       ;
   endif
   end do
end procedure
procedure Update positions of ants and pheromones
  For   to   do
   if  
    
     ;
      ; (Update pheromones)
     endif
      end do
end procedure