Research Article

Hybrid Disease Diagnosis Using Multiobjective Optimization with Evolutionary Parameter Optimization

Algorithm 2: Pseudocode representation of the basic firefly algorithm.

Objective function f (X),
Randomly generate initial fireflies’ positions as
Light intensity at is determined by
Define light absorption coefficient, γ
Old_Solutions =
While (t < MaxGeneration)
 New_sol = {};
 for
  for
   if then
      X = Move d (, );
      
   End if
    Update(r, e−γr)
    Evaluate new solutions, update light intensity
  End for j
 End for i
 Z = Rank (Old_Solutions, New_sol)
End while
Post process results and visualization
Algorithm 2: Pseudocode representation of the basic firefly algorithm.