The GA Procedure

 
SetCrossProb Call

call SetCrossProb ( p ) ;

The SetCrossProb call sets the crossover probability. The input to the SetCrossProb subroutine is as follows:

p    

is the crossover probability.

The SetCrossProb subroutine is used to set the crossover probability for the genetic algorithm optimization process. The crossover probability should be between 0 and 1. Typical values for this parameter range from 0.6 to 1.0. The crossover probability will be overridden if required by a SetElite call. The elite solutions are passed on to the next generation without undergoing crossover, regardless of the crossover probability.