Orfeo Toolbox  4.0
Public Types | Public Member Functions | Public Attributes | List of all members
itk::RandomPermutation Class Reference

Produce a random permutation of a collection. More...

#include <itkImageRandomNonRepeatingConstIteratorWithIndex.h>

+ Collaboration diagram for itk::RandomPermutation:

Public Types

typedef
Statistics::MersenneTwisterRandomVariateGenerator::Pointer 
GeneratorPointer
 

Public Member Functions

 RandomPermutation (SizeValueType sz)
 
 ~RandomPermutation ()
 
void Dump ()
 
RandomPermutationoperator= (const RandomPermutation &it)
 
SizeValueType operator[] (SizeValueType i)
 
void ReinitializeSeed ()
 
void ReinitializeSeed (unsigned int seed)
 
void SetPriority (SizeValueType i, SizeValueType priority)
 
void Shuffle ()
 

Public Attributes

GeneratorPointer m_Generator
 
NodeOfPermutationm_Permutation
 
SizeValueType m_Size
 

Detailed Description

Produce a random permutation of a collection.

Definition at line 71 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Member Typedef Documentation

Constructor & Destructor Documentation

itk::RandomPermutation::RandomPermutation ( SizeValueType  sz)
inline
itk::RandomPermutation::~RandomPermutation ( )
inline

Definition at line 133 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Permutation.

Member Function Documentation

void itk::RandomPermutation::Dump ( )
inline
RandomPermutation& itk::RandomPermutation::operator= ( const RandomPermutation it)
inline
SizeValueType itk::RandomPermutation::operator[] ( SizeValueType  i)
inline
void itk::RandomPermutation::ReinitializeSeed ( )
inline

Reinitialize the seed of the random number generator

Definition at line 139 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator.

void itk::RandomPermutation::ReinitializeSeed ( unsigned int  seed)
inline

Definition at line 144 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator.

void itk::RandomPermutation::SetPriority ( SizeValueType  i,
SizeValueType  priority 
)
inline
void itk::RandomPermutation::Shuffle ( )
inline

Member Data Documentation

GeneratorPointer itk::RandomPermutation::m_Generator
NodeOfPermutation* itk::RandomPermutation::m_Permutation
SizeValueType itk::RandomPermutation::m_Size

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

Generated at Sat Mar 8 2014 17:36:40 for Orfeo Toolbox with doxygen 1.8.3.1