The GA Procedure |
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.
Copyright © SAS Institute, Inc. All Rights Reserved.