#include <freESCommaSelectionController.h>


Public Types | |
| typedef ES::CommaSelection < ESIndividualType > | ComponentType |
| typedef ESSelectionControllerBase < ComponentType > | Superclass |
Public Member Functions | |
| itkTypeMacro (ESCommaSelectionController, ESSelectionControllerBase) | |
| ESCommaSelectionController () | |
| DeclareParameterMacro (MaxGenerationAge) | |
Protected Member Functions | |
| virtual void | GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const |
| virtual void | ActualizeMainComponent (ComponentType *pMainComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo, const unsigned int &iActLevel) const |
ESCommaSelectionController is used in evolutionary strategies (ES) to select the individuals for the next generation by plus selection (strong elitism).
Definition at line 42 of file freESCommaSelectionController.h.
The component class managed by the controller. The component class must be a derivation from itk::LightObject to ensure the ability to use the smartpointer concept of itk
Reimplemented from FREE::ESSelectionControllerBase< TSelection >.
Definition at line 47 of file freESCommaSelectionController.h.
Reimplemented from FREE::ESSelectionControllerBase< TSelection >.
Definition at line 48 of file freESCommaSelectionController.h.
| FREE::ESCommaSelectionController::ESCommaSelectionController | ( | ) |
Definition at line 36 of file freESCommaSelectionController.cxx.
References FREE::ComponentControllerInterface::m_Description, and FREE::ComponentControllerInterface::UpdateControllerID().

| FREE::ESCommaSelectionController::itkTypeMacro | ( | ESCommaSelectionController | , | |
| ESSelectionControllerBase | ||||
| ) |
| FREE::ESCommaSelectionController::DeclareParameterMacro | ( | MaxGenerationAge | ) |
| void FREE::ESCommaSelectionController::GenerateProfile | ( | CtrlProfile::ControllerProfile & | profile, | |
| const SessionComponentCache * | pComponentCache, | |||
| bool | bRegardOldSetup | |||
| ) | const [protected, virtual] |
Adjusts the current profile according to the definitions of the controller.
Method should call the superclass variant to regard demands of basic controllers.
| [in,out] | profile | Reference of the current profile. |
| [in] | pComponentCache | Pointer to the cache indicating the location of the component that should be profiled. This pointer can be null. In this case only a default profile that isn't context sensitive is wanted (others aren't possible anyway) |
| [in] | bRegardOldSetup | If true, the setup of pComponentCache is valid and should be regarded when the profile is generated. Otherwise just use defaults if setup information is needed. |
Reimplemented from FREE::ComponentControllerBase< TSelection >.
Definition at line 45 of file freESCommaSelectionController.cxx.
References FREE::ComponentControllerBase< TSelection >::GenerateProfile(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), and FREE::Parameter::PVTInteger.

| void FREE::ESCommaSelectionController::ActualizeMainComponent | ( | ComponentType * | pMainComponent, | |
| SessionComponentCache * | pComponentCache, | |||
| SessionInfo * | pSessionInfo, | |||
| const unsigned int & | iActLevel | |||
| ) | const [protected, virtual] |
Definition at line 57 of file freESCommaSelectionController.cxx.
References FREE::ComponentControllerBase< TSelection >::ActualizeMainComponent(), catchAllNPassMacro, FREE::SessionAccessor::GetParameterValue(), and FREE::ES::CommaSelection< TIndividual >::SetMaxGenerationAge().

1.5.3 written by Dimitri van Heesch,
© 1997-2000