Skip to main content
. 2021 Mar 27;23(4):397. doi: 10.3390/e23040397
Algorithm 1 Diversity control
 Input:
Edim: The dimensional entropy of the population in this iteration; Estandard: The expected entropy of this iteration; Coord: The population
 Output:
 The new population
 1 if Edim< Estandard
 2  delete a redundant particle;
 3  add a new particle;
 4 else if Edim> Estandard
 5  delete a worst particle;
 6  copy a redundant particle;
 7 end