Research Article
Hierarchical Swarm Model: A New Approach to Optimization
// Definition of the fitness landscape. | For (i = 1 to number of peaks p) | For (j = 1 to number of Dimension D) | landscape (i, j) = rand; | End for | End for | // the fitness f is computed as follows: | f = 0; | For (i = 1 to number of peaks p) | q = 0; | For (j = 1 to number of Dimension D) | If ((j) = landscape (i, j)) | ; | End if | End for | If () | ; | End if | End for | . |
|