FREE::ES::RandomMultiParentSelector< TIndividual > Class Template Reference
[Evolutionary strategies]

Selects a tuple of parents randomly Selects a tuple of parents randomly out of the population. Every individual of the population has the same chance to be chosen. Number of selections is in ES also known as rho. More...

#include <freESRandomMultiParentSelector.h>

Inheritance diagram for FREE::ES::RandomMultiParentSelector< TIndividual >:

Inheritance graph
FREE::ES::ParentSelectorBase\< TIndividual \>FREE::ES::ComponentBase\< TIndividual \>
[legend]
Collaboration diagram for FREE::ES::RandomMultiParentSelector< TIndividual >:

Collaboration graph
FREE::ES::ParentSelectorBase\< TIndividual \>FREE::ES::ComponentBase\< TIndividual \>
[legend]

List of all members.

Public Types

typedef
RandomMultiParentSelector
< TIndividual > 
Self
typedef
ParentSelectorBase
< TIndividual > 
Superclass
typedef
itk::SmartPointer
< Self
Pointer
typedef
itk::SmartPointer
< const Self
ConstPointer
typedef
Superclass::IndividualType 
IndividualType
typedef
IndividualType::Pointer 
IndividualPointer
typedef Population
< IndividualType
PopulationType
typedef std::vector
< IndividualPointer
ParentSelectionType
typedef
itk::Statistics::MersenneTwisterRandomVariateGenerator 
VariateGeneratorType

Public Member Functions

virtual
::itk::LightObject::Pointer 
CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual
ParentSelectionType 
Select (const PopulationType &population) const
VariateGeneratorTypeGetRandomGenerator ()
virtual void SetAllowRedraw (const bool _arg)
virtual bool GetAllowRedraw () const
virtual void AllowRedrawOn ()
virtual void AllowRedrawOff ()
virtual void SetNumberOfSelections (const unsigned long _arg)
virtual unsigned long GetNumberOfSelections () const

Static Public Member Functions

static Pointer New (void)

Protected Member Functions

 RandomMultiParentSelector ()

Protected Attributes

VariateGeneratorType::Pointer m_RandomGenerator
bool m_AllowRedraw
unsigned long m_NumberOfSelections

Private Member Functions

 RandomMultiParentSelector (Self const &)


Detailed Description

template<class TIndividual>
class FREE::ES::RandomMultiParentSelector< TIndividual >

Selects a tuple of parents randomly Selects a tuple of parents randomly out of the population. Every individual of the population has the same chance to be chosen. Number of selections is in ES also known as rho.

Definition at line 44 of file freESRandomMultiParentSelector.h.


Member Typedef Documentation

template<class TIndividual>
typedef RandomMultiParentSelector<TIndividual> FREE::ES::RandomMultiParentSelector< TIndividual >::Self

Standard "Self" typedef.

Reimplemented from FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 49 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
typedef ParentSelectorBase<TIndividual> FREE::ES::RandomMultiParentSelector< TIndividual >::Superclass

Reimplemented from FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 50 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
typedef itk::SmartPointer<Self> FREE::ES::RandomMultiParentSelector< TIndividual >::Pointer

Reimplemented from FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 51 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
typedef itk::SmartPointer<const Self> FREE::ES::RandomMultiParentSelector< TIndividual >::ConstPointer

Reimplemented from FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 52 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
typedef Superclass::IndividualType FREE::ES::RandomMultiParentSelector< TIndividual >::IndividualType

Reimplemented from FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 58 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
typedef IndividualType::Pointer FREE::ES::RandomMultiParentSelector< TIndividual >::IndividualPointer

Reimplemented from FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 61 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
typedef Population<IndividualType> FREE::ES::RandomMultiParentSelector< TIndividual >::PopulationType

Reimplemented from FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 62 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
typedef std::vector<IndividualPointer> FREE::ES::RandomMultiParentSelector< TIndividual >::ParentSelectionType

Reimplemented from FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 63 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator FREE::ES::RandomMultiParentSelector< TIndividual >::VariateGeneratorType

random variate generator type.

Definition at line 66 of file freESRandomMultiParentSelector.h.


Constructor & Destructor Documentation

template<class TIndividual>
FREE::ES::RandomMultiParentSelector< TIndividual >::RandomMultiParentSelector (  )  [inline, protected]

Definition at line 36 of file freESRandomMultiParentSelector.txx.

template<class TIndividual>
FREE::ES::RandomMultiParentSelector< TIndividual >::RandomMultiParentSelector ( Self const &   )  [private]


Member Function Documentation

template<class TIndividual>
static Pointer FREE::ES::RandomMultiParentSelector< TIndividual >::New ( void   )  [inline, static]

Method for creation through the object factory.

Reimplemented from FREE::ES::ComponentBase< TIndividual >.

Definition at line 55 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
virtual ::itk::LightObject::Pointer FREE::ES::RandomMultiParentSelector< TIndividual >::CreateAnother ( void   )  const [inline, virtual]

Reimplemented from FREE::ES::ComponentBase< TIndividual >.

Definition at line 55 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
virtual const char* FREE::ES::RandomMultiParentSelector< TIndividual >::GetNameOfClass (  )  const [inline, virtual]

Run-time type information (and related methods).

Reimplemented from FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 58 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
RandomMultiParentSelector< TIndividual >::ParentSelectionType FREE::ES::RandomMultiParentSelector< TIndividual >::Select ( const PopulationType population  )  const [inline, virtual]

Implements FREE::ES::ParentSelectorBase< TIndividual >.

Definition at line 47 of file freESRandomMultiParentSelector.txx.

References throwExceptionMacro.

template<class TIndividual>
VariateGeneratorType& FREE::ES::RandomMultiParentSelector< TIndividual >::GetRandomGenerator (  )  [inline]

Definition at line 70 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
virtual void FREE::ES::RandomMultiParentSelector< TIndividual >::SetAllowRedraw ( const bool  _arg  )  [inline, virtual]

Definition at line 72 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
virtual bool FREE::ES::RandomMultiParentSelector< TIndividual >::GetAllowRedraw (  )  const [inline, virtual]

Definition at line 73 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
virtual void FREE::ES::RandomMultiParentSelector< TIndividual >::AllowRedrawOn (  )  [inline, virtual]

Definition at line 74 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
virtual void FREE::ES::RandomMultiParentSelector< TIndividual >::AllowRedrawOff (  )  [inline, virtual]

Definition at line 74 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
virtual void FREE::ES::RandomMultiParentSelector< TIndividual >::SetNumberOfSelections ( const unsigned long  _arg  )  [inline, virtual]

Definition at line 76 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
virtual unsigned long FREE::ES::RandomMultiParentSelector< TIndividual >::GetNumberOfSelections (  )  const [inline, virtual]

Definition at line 77 of file freESRandomMultiParentSelector.h.


Member Data Documentation

template<class TIndividual>
VariateGeneratorType::Pointer FREE::ES::RandomMultiParentSelector< TIndividual >::m_RandomGenerator [protected]

Smart pointer to the normal random variate generator.

Definition at line 83 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
bool FREE::ES::RandomMultiParentSelector< TIndividual >::m_AllowRedraw [protected]

Definition at line 85 of file freESRandomMultiParentSelector.h.

template<class TIndividual>
unsigned long FREE::ES::RandomMultiParentSelector< TIndividual >::m_NumberOfSelections [protected]

Definition at line 87 of file freESRandomMultiParentSelector.h.


The documentation for this class was generated from the following files:
Generated at Sat Oct 13 18:29:49 2007 for f.r.e.e. - Flexible Registration and Evaluation Engine by doxygen 1.5.3 written by Dimitri van Heesch, © 1997-2000