The GA Procedure |
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 © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.