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 | else | ; {Random Consideration} | end if | end for | find() where | if then | include to HM; | exclude from HM; | end if | end while |
|