The GA Procedure

SetCrossRoutine Call

installs a user subroutine for the crossover operator

call SetCrossRoutine( 'routine'<, nparents, nchildren>);

The inputs to the SetCrossRoutine subroutine are as follows:

routine        is the name of a subroutine you have defined, which is called when the mutation operator is applied. This parameter must be a string literal; a variable is not accepted.
nparentsis optional, and specifies the number of parent solutions the operator requires. If not specified, 2 is assumed.
nchildrenis optional, and specifies the number of children solutions the operator will generate. If not specified, 2 is assumed.

Previous Page | Next Page | Top of Page