ECF 1.7
Permutation::IndexBackedPermutation Class Reference

Public Member Functions

 IndexBackedPermutation (int *arr, int n_)
void setIndexForValue (int value, int index)
int getIndexForValue (int value)
void remove (int *size, int pos)
void swap (Permutation *p, int pos1, int pos2)

Detailed Description

Definition at line 23 of file PermutationCrsUPMX.cpp.

Constructor & Destructor Documentation

◆ IndexBackedPermutation()

Permutation::IndexBackedPermutation::IndexBackedPermutation ( int * arr,
int n_ )
inline

Definition at line 31 of file PermutationCrsUPMX.cpp.

◆ ~IndexBackedPermutation()

Permutation::IndexBackedPermutation::~IndexBackedPermutation ( )
inline

Definition at line 43 of file PermutationCrsUPMX.cpp.

Member Function Documentation

◆ getIndexForValue()

int Permutation::IndexBackedPermutation::getIndexForValue ( int value)
inline

Definition at line 53 of file PermutationCrsUPMX.cpp.

◆ remove()

void Permutation::IndexBackedPermutation::remove ( int * size,
int pos )
inline

Definition at line 60 of file PermutationCrsUPMX.cpp.

◆ setIndexForValue()

void Permutation::IndexBackedPermutation::setIndexForValue ( int value,
int index )
inline

Definition at line 48 of file PermutationCrsUPMX.cpp.

◆ swap()

void Permutation::IndexBackedPermutation::swap ( Permutation * p,
int pos1,
int pos2 )
inline

Definition at line 76 of file PermutationCrsUPMX.cpp.


The documentation for this class was generated from the following file: