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.

Public Member Functions

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

Public Attributes

nodeOfPermutationpermutation
Statistics::MersenneTwisterRandomVariateGenerator::Pointer m_Generator
unsigned long size

Constructor & Destructor Documentation

itk::randomPermutation::randomPermutation unsigned long  sz  )  [inline]
 

Definition at line 70 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator, permutation, Shuffle(), and size.

itk::randomPermutation::~randomPermutation  )  [inline]
 

Definition at line 110 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References permutation.


Member Function Documentation

void itk::randomPermutation::Dump  )  [inline]
 

Definition at line 77 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References permutation, size, and itk::nodeOfPermutation::value.

unsigned long itk::randomPermutation::operator[] unsigned long  i  )  [inline]
 

Definition at line 106 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References itk::nodeOfPermutation::index, and permutation.

void itk::randomPermutation::ReinitializeSeed int  seed  )  [inline]
 

Definition at line 121 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator.

void itk::randomPermutation::ReinitializeSeed  )  [inline]
 

Reinitialize the seed of the random number generator

Definition at line 116 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator.

void itk::randomPermutation::SetPriority unsigned long  i,
unsigned long  priority
[inline]
 

Definition at line 86 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References permutation, itk::nodeOfPermutation::priority, and size.

void itk::randomPermutation::Shuffle  )  [inline]
 

Definition at line 97 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References itk::nodeOfPermutation::index, m_Generator, permutation, size, and itk::nodeOfPermutation::value.

Referenced by randomPermutation().


Member Data Documentation

Statistics::MersenneTwisterRandomVariateGenerator::Pointer itk::randomPermutation::m_Generator
 

Definition at line 68 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

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

nodeOfPermutation* itk::randomPermutation::permutation
 

Definition at line 67 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

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

unsigned long itk::randomPermutation::size
 

Definition at line 69 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 May 25 02:09:00 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000