Method | Description | |
---|---|---|
GetMappedIndex ( int index, int setSize ) : int |
Gets a remapped index.
|
|
GetMappedIndex ( long index, int setSize ) : long |
Gets a remapped index.
|
|
PermutationMapper ( ) : System |
Constructs a new permutation mapper.
|
public GetMappedIndex ( int index, int setSize ) : int | ||
index | int | Original index of an element in the set to be redirected to a shuffled position. |
setSize | int | Size of the set being permuted. Must be smaller than 350000041. |
return | int |
public GetMappedIndex ( long index, int setSize ) : long | ||
index | long | Original index of an element in the set to be redirected to a shuffled position. |
setSize | int | Size of the set being permuted. Must be smaller than 350000041. |
return | long |