ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Public Attributes | List of all members
itk::RandomPermutation Class Reference

#include <itkImageRandomNonRepeatingConstIteratorWithIndex.h>

+ Collaboration diagram for itk::RandomPermutation:

Detailed Description

Produce a random permutation of a collection.

Definition at line 71 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Public Types

typedef
Statistics::MersenneTwisterRandomVariateGenerator::Pointer 
GeneratorPointer
 

Public Member Functions

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

Public Attributes

GeneratorPointer m_Generator
 
NodeOfPermutationm_Permutation
 
SizeValueType m_Size
 

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: