This class provides a method to randomize the contents of an array @author Salindor. Modified by O.Gonzalez-Recio in January 2010, to make 'temp' to be a list, instead a vector
Permutator
01 Syntax
Microsoft.VisualBasic.Math.Permutator
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Permute | 1 | This function does all the work. |
03 Members
Permute(
Int32())This function does all the work. It randomizes the array into the new array it returns. Granted if you were using this for real, you would most likely want to use something other than the default java randomizer. or you would at least want to seed it properly
Parameters
| Name | Type | Description |
|---|---|---|
a | Int32() | the original array |
Returns
the new shuffled array