C# Класс BEPUutilities2.PermutationMapper

Maps indices to permuted versions of the indices.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetMappedIndex() публичный Метод

Gets a remapped index.
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.
Результат int

GetMappedIndex() публичный Метод

Gets a remapped index.
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.
Результат long

PermutationMapper() публичный Метод

Constructs a new permutation mapper.
public PermutationMapper ( ) : System
Результат System