#include <freESCommaSelection.h>


Public Types | |
| typedef CommaSelection < TIndividual > | Self |
| typedef SelectionBase < TIndividual > | Superclass |
| typedef itk::SmartPointer < Self > | Pointer |
| typedef itk::SmartPointer < const Self > | ConstPointer |
| typedef Superclass::IndividualType | IndividualType |
| typedef Superclass::Pointer | IndividualPointer |
| typedef Superclass::PopulationType | PopulationType |
| typedef Superclass::PopulationPointer | PopulationPointer |
| typedef Superclass::PopulationSizeType | PopulationSizeType |
Public Member Functions | |
| virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
| virtual const char * | GetNameOfClass () const |
| virtual PopulationPointer | Select (PopulationType *pPopulation, PopulationSizeType newSize) const |
| virtual void | SetMaxGenerationAge (const unsigned long _arg) |
| virtual const unsigned long & | GetMaxGenerationAge () const |
Static Public Member Functions | |
| static Pointer | New (void) |
Protected Types | |
| typedef PlusSelection < TIndividual > | PrivatPlusSelectionType |
Protected Member Functions | |
| CommaSelection () | |
Protected Attributes | |
| unsigned long | m_MaxGenerationAge |
| PrivatPlusSelectionType::Pointer | m_PlusSelection |
Private Member Functions | |
| CommaSelection (Self const &) | |
Realizes the comma selection for ES. By default it is the real comma selection, so only the new children are allowed to survive (MaxGenerationAge == 0). A soft elitism can be introduced by increasing the allowed generation age.
Definition at line 46 of file freESCommaSelection.h.
| typedef CommaSelection<TIndividual> FREE::ES::CommaSelection< TIndividual >::Self |
Standard "Self" typedef.
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 51 of file freESCommaSelection.h.
| typedef SelectionBase<TIndividual> FREE::ES::CommaSelection< TIndividual >::Superclass |
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 52 of file freESCommaSelection.h.
| typedef itk::SmartPointer<Self> FREE::ES::CommaSelection< TIndividual >::Pointer |
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 53 of file freESCommaSelection.h.
| typedef itk::SmartPointer<const Self> FREE::ES::CommaSelection< TIndividual >::ConstPointer |
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 54 of file freESCommaSelection.h.
| typedef Superclass::IndividualType FREE::ES::CommaSelection< TIndividual >::IndividualType |
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 60 of file freESCommaSelection.h.
| typedef Superclass::Pointer FREE::ES::CommaSelection< TIndividual >::IndividualPointer |
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 63 of file freESCommaSelection.h.
| typedef Superclass::PopulationType FREE::ES::CommaSelection< TIndividual >::PopulationType |
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 64 of file freESCommaSelection.h.
| typedef Superclass::PopulationPointer FREE::ES::CommaSelection< TIndividual >::PopulationPointer |
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 65 of file freESCommaSelection.h.
| typedef Superclass::PopulationSizeType FREE::ES::CommaSelection< TIndividual >::PopulationSizeType |
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 67 of file freESCommaSelection.h.
typedef PlusSelection<TIndividual> FREE::ES::CommaSelection< TIndividual >::PrivatPlusSelectionType [protected] |
Definition at line 85 of file freESCommaSelection.h.
| FREE::ES::CommaSelection< TIndividual >::CommaSelection | ( | ) | [inline, protected] |
Definition at line 34 of file freESCommaSelection.txx.
| FREE::ES::CommaSelection< TIndividual >::CommaSelection | ( | Self const & | ) | [private] |
| static Pointer FREE::ES::CommaSelection< TIndividual >::New | ( | void | ) | [inline, static] |
Method for creation through the object factory.
Reimplemented from FREE::ES::ComponentBase< TIndividual >.
Definition at line 57 of file freESCommaSelection.h.
| virtual ::itk::LightObject::Pointer FREE::ES::CommaSelection< TIndividual >::CreateAnother | ( | void | ) | const [inline, virtual] |
Reimplemented from FREE::ES::ComponentBase< TIndividual >.
Definition at line 57 of file freESCommaSelection.h.
| virtual const char* FREE::ES::CommaSelection< TIndividual >::GetNameOfClass | ( | ) | const [inline, virtual] |
Run-time type information (and related methods).
Reimplemented from FREE::ES::SelectionBase< TIndividual >.
Definition at line 60 of file freESCommaSelection.h.
| CommaSelection< TIndividual >::PopulationPointer FREE::ES::CommaSelection< TIndividual >::Select | ( | PopulationType * | pPopulation, | |
| PopulationSizeType | newSize | |||
| ) | const [inline, virtual] |
Selects x individuals out of the population and removes the others from the passed population. (x == new Size) The removed individuals will be inserted in the newly created population and returned as function values. The generation ID will not be changed by this function.
Definition at line 43 of file freESCommaSelection.txx.
References FREE::ES::Population< TIndividual >::GetGenerationID(), and throwExceptionMacro.

| virtual void FREE::ES::CommaSelection< TIndividual >::SetMaxGenerationAge | ( | const unsigned long | _arg | ) | [inline, virtual] |
Definition at line 77 of file freESCommaSelection.h.
Referenced by FREE::ESCommaSelectionController::ActualizeMainComponent().
| virtual const unsigned long& FREE::ES::CommaSelection< TIndividual >::GetMaxGenerationAge | ( | ) | const [inline, virtual] |
Definition at line 78 of file freESCommaSelection.h.
unsigned long FREE::ES::CommaSelection< TIndividual >::m_MaxGenerationAge [protected] |
Definition at line 83 of file freESCommaSelection.h.
PrivatPlusSelectionType::Pointer FREE::ES::CommaSelection< TIndividual >::m_PlusSelection [protected] |
Definition at line 86 of file freESCommaSelection.h.
1.5.3 written by Dimitri van Heesch,
© 1997-2000