#include <freESSelectionBase.h>


Public Types | |
| typedef SelectionBase < TIndividual > | Self |
| typedef ComponentBase < 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 PopulationType::Pointer | PopulationPointer |
| typedef unsigned long | PopulationSizeType |
Public Member Functions | |
| virtual const char * | GetNameOfClass () const |
| virtual void | SetMaximumIsBest (const bool _arg) |
| virtual bool | GetMaximumIsBest () const |
| virtual void | MaximumIsBestOn () |
| virtual void | MaximumIsBestOff () |
| virtual PopulationPointer | Select (PopulationType *pPopulation, PopulationSizeType newSize) const =0 |
Protected Member Functions | |
| SelectionBase () | |
| virtual | ~SelectionBase () |
Private Member Functions | |
| SelectionBase (Self const &) | |
Private Attributes | |
| bool | m_MaximumIsBest |
The class selects n individuals out of a population and removes the others from the populution. The selection strategie depends on the concrete implementation.
Definition at line 47 of file freESSelectionBase.h.
| typedef SelectionBase<TIndividual> FREE::ES::SelectionBase< TIndividual >::Self |
Standard "Self" typedef.
Reimplemented from FREE::ES::ComponentBase< TIndividual >.
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 52 of file freESSelectionBase.h.
| typedef ComponentBase<TIndividual> FREE::ES::SelectionBase< TIndividual >::Superclass |
Reimplemented from FREE::ES::ComponentBase< TIndividual >.
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 53 of file freESSelectionBase.h.
| typedef itk::SmartPointer<Self> FREE::ES::SelectionBase< TIndividual >::Pointer |
Reimplemented from FREE::ES::ComponentBase< TIndividual >.
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 54 of file freESSelectionBase.h.
| typedef itk::SmartPointer<const Self> FREE::ES::SelectionBase< TIndividual >::ConstPointer |
Reimplemented from FREE::ES::ComponentBase< TIndividual >.
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 55 of file freESSelectionBase.h.
| typedef Superclass::IndividualType FREE::ES::SelectionBase< TIndividual >::IndividualType |
Reimplemented from FREE::ES::ComponentBase< TIndividual >.
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 61 of file freESSelectionBase.h.
| typedef IndividualType::Pointer FREE::ES::SelectionBase< TIndividual >::IndividualPointer |
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 64 of file freESSelectionBase.h.
| typedef Population<IndividualType> FREE::ES::SelectionBase< TIndividual >::PopulationType |
Reimplemented from FREE::ES::ComponentBase< TIndividual >.
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 65 of file freESSelectionBase.h.
| typedef PopulationType::Pointer FREE::ES::SelectionBase< TIndividual >::PopulationPointer |
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 66 of file freESSelectionBase.h.
| typedef unsigned long FREE::ES::SelectionBase< TIndividual >::PopulationSizeType |
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 68 of file freESSelectionBase.h.
| FREE::ES::SelectionBase< TIndividual >::SelectionBase | ( | ) | [inline, protected] |
Definition at line 34 of file freESSelectionBase.txx.
| FREE::ES::SelectionBase< TIndividual >::~SelectionBase | ( | ) | [inline, protected, virtual] |
Definition at line 41 of file freESSelectionBase.txx.
| FREE::ES::SelectionBase< TIndividual >::SelectionBase | ( | Self const & | ) | [private] |
| virtual const char* FREE::ES::SelectionBase< TIndividual >::GetNameOfClass | ( | ) | const [inline, virtual] |
Method for creation through the object factory. Run-time type information (and related methods).
Reimplemented from FREE::ES::ComponentBase< TIndividual >.
Reimplemented in FREE::ES::CommaSelection< TIndividual >, and FREE::ES::PlusSelection< TIndividual >.
Definition at line 61 of file freESSelectionBase.h.
| virtual void FREE::ES::SelectionBase< TIndividual >::SetMaximumIsBest | ( | const bool | _arg | ) | [inline, virtual] |
Definition at line 70 of file freESSelectionBase.h.
| virtual bool FREE::ES::SelectionBase< TIndividual >::GetMaximumIsBest | ( | ) | const [inline, virtual] |
Definition at line 71 of file freESSelectionBase.h.
| virtual void FREE::ES::SelectionBase< TIndividual >::MaximumIsBestOn | ( | ) | [inline, virtual] |
Definition at line 72 of file freESSelectionBase.h.
| virtual void FREE::ES::SelectionBase< TIndividual >::MaximumIsBestOff | ( | ) | [inline, virtual] |
Definition at line 72 of file freESSelectionBase.h.
| virtual PopulationPointer FREE::ES::SelectionBase< TIndividual >::Select | ( | PopulationType * | pPopulation, | |
| PopulationSizeType | newSize | |||
| ) | const [pure virtual] |
Selects x individuals out of the population and removes the others form the passed population. (x == new Size) The removed individuals will be inserted in the newly created population and returned as function valus. The generation ID will not be changed by this function.
bool FREE::ES::SelectionBase< TIndividual >::m_MaximumIsBest [private] |
Definition at line 87 of file freESSelectionBase.h.
1.5.3 written by Dimitri van Heesch,
© 1997-2000