Journal of Applied Mathematics / 2013 / Article / Alg 1

Research Article

Cellular Harmony Search for Optimization Problems

Algorithm 1

The pseudocode of cellular harmony search (cHS).
Set HMCR, PAR, NI, HMS, bw.
, , , ;
Calculate , ;
Generate(NM) {generate the neighborhood matrix}
While     do
 select random individual
for     do
  if     then
    ; {Memory Consideration}
   if     then
     ;  {Pitch Adjustment}
   end if
    ;  {Random Consideration}
  end if
end for
 find( ) where
if     then
  include to HM;
  exclude from HM;
end if
end while

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.