#include <itkImageRandomNonRepeatingConstIteratorWithIndex.h>
Produce a random permutation of a collection.
Definition at line 70 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
Public Types | |
using | GeneratorPointer = typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer |
Public Member Functions | |
RandomPermutation & | operator= (const RandomPermutation &it) |
SizeValueType | operator[] (SizeValueType i) const |
RandomPermutation (SizeValueType sz) | |
void | ReinitializeSeed () const |
void | ReinitializeSeed (unsigned int seed) const |
void | SetPriority (SizeValueType i, SizeValueType priority) const |
void | Shuffle () const |
~RandomPermutation () | |
Public Attributes | |
GeneratorPointer | m_Generator |
NodeOfPermutation * | m_Permutation |
SizeValueType | m_Size |
using itk::RandomPermutation::GeneratorPointer = typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer |
Definition at line 73 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
|
inline |
Definition at line 78 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
References m_Generator, m_Permutation, m_Size, itk::Statistics::MersenneTwisterRandomVariateGenerator::New(), and Shuffle().
Referenced by operator=().
|
inline |
Definition at line 126 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
References m_Permutation.
|
inline |
Definition at line 87 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
References m_Generator, m_Permutation, m_Size, and RandomPermutation().
|
inline |
Definition at line 121 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
References m_Permutation.
|
inline |
Reinitialize the seed of the random number generator
Definition at line 130 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
References m_Generator.
|
inline |
Definition at line 136 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
References m_Generator.
|
inline |
Definition at line 97 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
References m_Permutation, and m_Size.
|
inline |
Definition at line 110 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
References m_Generator, m_Permutation, and m_Size.
Referenced by RandomPermutation().
GeneratorPointer itk::RandomPermutation::m_Generator |
Definition at line 75 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
Referenced by operator=(), RandomPermutation(), ReinitializeSeed(), ReinitializeSeed(), and Shuffle().
NodeOfPermutation* itk::RandomPermutation::m_Permutation |
Definition at line 74 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
Referenced by operator=(), operator[](), RandomPermutation(), SetPriority(), Shuffle(), and ~RandomPermutation().
SizeValueType itk::RandomPermutation::m_Size |
Definition at line 76 of file itkImageRandomNonRepeatingConstIteratorWithIndex.h.
Referenced by operator=(), RandomPermutation(), SetPriority(), and Shuffle().