Download User`s Manual

Transcript
APPENDIX A. THE STANDARD GA LIBRARY
CENTRE FOR WATER SYSTEMS. UNIVERSITY OF EXETER
A.6 CONVERGENCE CRITERIA
As GAs are stochastic in nature, a decision is required on when the GA has converged. There
are two options available:
!
MIN. REQUIRED FITNESS VARIANCE: The GA stops when the variance in the
population reaches a given minimum that is placed in this textline.
!
MAX. ITERATIONS: The GA stops when the total number of generations (or iterations
for the steady state GA) reaches a given number.
A.7 OTHER VARIABLES
A.7.1 Population Size
This sets the number of individuals that make up the GA's population. The size of the
population will have both an effect on the convergence and exploitation of the search space.
A large population will mean that a larger proportion of the search space will be covered, but
the longer the GA will take to converge.
A.7.2 Random Number Seed
GAs are a stochastic process, in other words all processes rely on the generation of a random
number. Using the same random seed means that the initial population generated is the
same. This allows any comparison undertaken in the genetic operators to start from the same
position.
A.7.3 Output Interval
This is the number of iterations between outputting the best individual to date to an output
file.
164