The GA Procedure

Shuffle Call

call Shuffle ( x ) ;

The Shuffle call randomly reorders a numeric array. The input to the Shuffle subroutine is as follows:

x  

is a numeric array to be randomly shuffled.

The Shuffle subroutine randomly rearranges the elements of the x array. One example of where it might be used is in a user-supplied initialization routine, to generate a random sequence-encoded solution segment.