Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::RandomPermutation Class Reference

#include <itkImageRandomNonRepeatingConstIteratorWithIndex.h>

Collaboration diagram for itk::RandomPermutation:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 69 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Public Types

typedef Statistics::MersenneTwisterRandomVariateGenerator::Pointer GeneratorPointer

Public Member Functions

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

Public Attributes

GeneratorPointer m_Generator
NodeOfPermutationm_Permutation
unsigned long m_Size


Member Typedef Documentation

typedef Statistics::MersenneTwisterRandomVariateGenerator::Pointer itk::RandomPermutation::GeneratorPointer

Definition at line 72 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.


Constructor & Destructor Documentation

itk::RandomPermutation::RandomPermutation ( unsigned long  sz  )  [inline]

Definition at line 77 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator, m_Permutation, m_Size, itk::Statistics::MersenneTwisterRandomVariateGenerator::New(), and Shuffle().

itk::RandomPermutation::~RandomPermutation (  )  [inline]

Definition at line 122 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Permutation.


Member Function Documentation

void itk::RandomPermutation::Dump (  )  [inline]

Definition at line 85 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Permutation, and m_Size.

unsigned long itk::RandomPermutation::operator[] ( unsigned long  i  )  [inline]

Definition at line 117 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References itk::NodeOfPermutation::m_Index, and m_Permutation.

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

Definition at line 133 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator.

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

Reinitialize the seed of the random number generator

Definition at line 128 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator.

void itk::RandomPermutation::SetPriority ( unsigned long  i,
unsigned long  priority 
) [inline]

Definition at line 95 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Permutation, itk::NodeOfPermutation::m_Priority, and m_Size.

void itk::RandomPermutation::Shuffle (  )  [inline]

Definition at line 107 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator, itk::NodeOfPermutation::m_Index, m_Permutation, and m_Size.

Referenced by RandomPermutation().


Member Data Documentation

GeneratorPointer itk::RandomPermutation::m_Generator

Definition at line 74 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Referenced by RandomPermutation(), ReinitializeSeed(), and Shuffle().

NodeOfPermutation* itk::RandomPermutation::m_Permutation

Definition at line 73 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Referenced by Dump(), operator[](), RandomPermutation(), SetPriority(), Shuffle(), and ~RandomPermutation().

unsigned long itk::RandomPermutation::m_Size

Definition at line 75 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

Referenced by Dump(), RandomPermutation(), SetPriority(), and Shuffle().


The documentation for this class was generated from the following file:
Generated at Thu Nov 6 09:58:31 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000