RandomIndexPermutation Class |
Namespace: Novacta.Analytics
The RandomIndexPermutation type exposes the following members.
Name | Description | |
---|---|---|
RandomIndexPermutation |
Initializes a new instance of
the RandomIndexPermutation class
able to permute the specified IndexCollection.
|
Name | Description | |
---|---|---|
Indexes |
Gets the indexes to permute.
| |
RandomNumberGenerator |
Gets or sets the basic random generator for this instance.
(Inherited from RandomDevice.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Next |
Returns a random permutation of the Indexes of this
instance.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
The current implementation of the RandomIndexPermutation class is based on the Donald E. Knuth's Algorithm P (Shuffling, p. 145)[1] .