#include <freESDiscriminativeRecombinatorController.h>


Public Types | |
| typedef ES::DiscriminativeRecombinator < ESIndividualType > | ComponentType |
| typedef ESRecombinatorControllerBase < ComponentType > | Superclass |
Public Member Functions | |
| itkTypeMacro (ESDiscriminativeRecombinatorController, ESRecombinatorControllerBase) | |
| ESDiscriminativeRecombinatorController () | |
Protected Member Functions | |
| virtual void | GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const |
| virtual GenericComponentType * | GetSubComponentCasted (ComponentType *pMainComponent, const ComponentID &compID, SessionComponentCache *pMainComponentCache) const |
| virtual void | SetSubComponentCasted (GenericComponentType *pSubComponent, ComponentType *pMainComponent, const ComponentID compID, SessionComponentCache *pMainComponentCache) const |
ESDiscriminativeRecombinatorController is used in evolutionary strategies (ES) to recombine parents for a new child.
Definition at line 43 of file freESDiscriminativeRecombinatorController.h.
| typedef ES::DiscriminativeRecombinator<ESIndividualType> FREE::ESDiscriminativeRecombinatorController::ComponentType |
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::ESRecombinatorControllerBase< TRecombinator >.
Definition at line 48 of file freESDiscriminativeRecombinatorController.h.
| typedef ESRecombinatorControllerBase<ComponentType> FREE::ESDiscriminativeRecombinatorController::Superclass |
Reimplemented from FREE::ESRecombinatorControllerBase< TRecombinator >.
Definition at line 49 of file freESDiscriminativeRecombinatorController.h.
| FREE::ESDiscriminativeRecombinatorController::ESDiscriminativeRecombinatorController | ( | ) |
Implementation of FREE::ESDiscriminativeRecombinatorController //
Definition at line 39 of file freESDiscriminativeRecombinatorController.cxx.
References FREE::ComponentControllerInterface::m_Description, and FREE::ComponentControllerInterface::UpdateControllerID().

| FREE::ESDiscriminativeRecombinatorController::itkTypeMacro | ( | ESDiscriminativeRecombinatorController | , | |
| ESRecombinatorControllerBase | ||||
| ) |
| void FREE::ESDiscriminativeRecombinatorController::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< TRecombinator >.
Definition at line 48 of file freESDiscriminativeRecombinatorController.cxx.
References FREE::CtrlProfile::ProfileOption::CheckForInheritance(), FREE::ComponentControllerBase< TRecombinator >::GenerateProfile(), FREE::CtrlProfile::ControllerProfileBase::Inheritance(), FREE::CtrlProfile::ControllerProfile::Requirements(), and FREE::CtrlProfile::ControllerProfileBase::SubComponents().

| GenericComponentType * FREE::ESDiscriminativeRecombinatorController::GetSubComponentCasted | ( | ComponentType * | pMainComponent, | |
| const ComponentID & | compID, | |||
| SessionComponentCache * | pMainComponentCache | |||
| ) | const [protected, virtual] |
Definition at line 73 of file freESDiscriminativeRecombinatorController.cxx.
References FREE::ES::DiscriminativeRecombinator< TIndividual >::GetObjectiveRecombinator(), FREE::ES::DiscriminativeRecombinator< TIndividual >::GetStrategicRecombinator(), and FREE::ComponentControllerBase< TRecombinator >::GetSubComponentCasted().

| void FREE::ESDiscriminativeRecombinatorController::SetSubComponentCasted | ( | GenericComponentType * | pSubComponent, | |
| ComponentType * | pMainComponent, | |||
| const ComponentID | compID, | |||
| SessionComponentCache * | pMainComponentCache | |||
| ) | const [protected, virtual] |
Definition at line 83 of file freESDiscriminativeRecombinatorController.cxx.
References FREE::ES::DiscriminativeRecombinator< TIndividual >::SetObjectiveRecombinator(), FREE::ES::DiscriminativeRecombinator< TIndividual >::SetStrategicRecombinator(), and FREE::ComponentControllerBase< TRecombinator >::SetSubComponentCasted().

1.5.3 written by Dimitri van Heesch,
© 1997-2000