Research Article

A New Logistic Dynamic Particle Swarm Optimization Algorithm Based on Random Topology

Algorithm 2

The proposed generating method of random population topology.
For the population that the size is , build a matrix, and let ;
Select a value, for each row of the matrix , generate a uniformly distributed random number
m from ( may be selected repeatedly), let ;
Use the Dijkstra algorithm to calculate the distance between the particles and stored in the matrix ;
While  The graph corresponding to the generating random topology is not connected  do
  Scan the matrix ;
  IF two particles and are not connected;
  Let ;