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

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

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


Constructor & Destructor Documentation

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

Definition at line 70 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.

References m_Generator, itk::Statistics::MersenneTwisterRandomVariateGenerator::New(), 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, and size.

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, and size.

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 Wed Jul 30 09:06:32 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000