Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

CLUS::Permutation Class Reference

Permutation[i] is the permuted value of i. More...

#include <discretepermutationtransformation.h>


Public Member Functions

 Permutation ()
 Permutation (int size)
 Permutation (Vector< int > &auxPermutation)
void RandomizePermutation (int size)
int ApplyInversePermutation (int d)
void ResetSize (int size)
int ApplyPermutation (int data)
void saveToStream (ostream &out)

Private Attributes

Vector< int > permutation


Detailed Description

Permutation[i] is the permuted value of i.

Definition at line 48 of file discretepermutationtransformation.h.


Constructor & Destructor Documentation

CLUS::Permutation::Permutation  )  [inline]
 

Definition at line 52 of file discretepermutationtransformation.h.

CLUS::Permutation::Permutation int  size  )  [inline]
 

Definition at line 55 of file discretepermutationtransformation.h.

CLUS::Permutation::Permutation Vector< int > &  auxPermutation  )  [inline]
 

Definition at line 61 of file discretepermutationtransformation.h.


Member Function Documentation

int CLUS::Permutation::ApplyInversePermutation int  d  )  [inline]
 

Definition at line 94 of file discretepermutationtransformation.h.

int CLUS::Permutation::ApplyPermutation int  data  )  [inline]
 

Definition at line 115 of file discretepermutationtransformation.h.

Referenced by CLUS::BinomialStatistics::AddStatisticsShifted().

void CLUS::Permutation::RandomizePermutation int  size  )  [inline]
 

Definition at line 65 of file discretepermutationtransformation.h.

void CLUS::Permutation::ResetSize int  size  )  [inline]
 

Definition at line 108 of file discretepermutationtransformation.h.

void CLUS::Permutation::saveToStream ostream &  out  )  [inline]
 

Definition at line 121 of file discretepermutationtransformation.h.


Field Documentation

Vector<int> CLUS::Permutation::permutation [private]
 

Definition at line 50 of file discretepermutationtransformation.h.

Referenced by ApplyInversePermutation(), ApplyPermutation(), Permutation(), RandomizePermutation(), ResetSize(), and saveToStream().


The documentation for this class was generated from the following file:
Generated on Mon Jul 21 16:57:51 2003 for SECRET by doxygen 1.3.2