ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Public Attributes
itk::RandomPermutation Class Reference

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

#include <itkImageRandomNonRepeatingConstIteratorWithIndex.h>

Collaboration diagram for itk::RandomPermutation:

List of all members.

Public Types

typedef
Statistics::MersenneTwisterRandomVariateGenerator::Pointer 
GeneratorPointer

Public Member Functions

void Dump ()
SizeValueType operator[] (SizeValueType i)
 RandomPermutation (SizeValueType sz)
void ReinitializeSeed (int seed)
void ReinitializeSeed ()
void SetPriority (SizeValueType i, SizeValueType priority)
void Shuffle ()
 ~RandomPermutation ()

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 124 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Permutation.


Member Function Documentation

void itk::RandomPermutation::Dump ( ) [inline]
SizeValueType itk::RandomPermutation::operator[] ( SizeValueType  i) [inline]
void itk::RandomPermutation::ReinitializeSeed ( ) [inline]

Reinitialize the seed of the random number generator

Definition at line 130 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator.

void itk::RandomPermutation::ReinitializeSeed ( int  seed) [inline]

Definition at line 135 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator.

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

Member Data Documentation


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