FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer > Class Template Reference
[Optimizer controllerES component controller]

Derived class of a controller objects for optimizers. More...

#include <freEvolutionaryStrategyOptimizerControllerBase.h>

Inheritance diagram for FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer >:

Inheritance graph
FREE::EvolutionaryStrategyOptimizerController\< FREE::ES::EvolutionaryStrategyOptimizer\< FREE::ES::Individual \> \>FREE::SVNonLinearOptimizerControllerBase\< TOptimizer \>FREE::OptimizerControllerBase\< TOptimizer \>FREE::ComponentControllerBase\< TOptimizer \>FREE::ComponentControllerInterfaceFREE::OptimizerControllerInterface
[legend]
Collaboration diagram for FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer >:

Collaboration graph
FREE::SVNonLinearOptimizerControllerBase\< TOptimizer \>FREE::OptimizerControllerBase\< TOptimizer \>FREE::ComponentControllerBase\< TOptimizer \>FREE::ComponentControllerInterfaceFREE::CtrlProfile::ProfileInheritanceFREE::XMLStringMultiMapFREE::XMLStreamObjectFREE::OptimizerControllerInterface
[legend]

List of all members.

Public Types

typedef TOptimizer ComponentType
typedef
SVNonLinearOptimizerControllerBase
< ComponentType
Superclass

Public Member Functions

 itkTypeMacro (EvolutionaryStrategyOptimizerControllerBase, SVNonLinearOptimizerControllerBase)
 EvolutionaryStrategyOptimizerControllerBase ()

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


Detailed Description

template<class TOptimizer>
class FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer >

Derived class of a controller objects for optimizers.

EvolutionaryStrategyOptimizerControllerBase is derived from SVNonLinearOptimizerControllerBase and the basic class for evolutionary strategy optimizers.

Definition at line 42 of file freEvolutionaryStrategyOptimizerControllerBase.h.


Member Typedef Documentation

template<class TOptimizer>
typedef TOptimizer FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer >::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::SVNonLinearOptimizerControllerBase< TOptimizer >.

Reimplemented in FREE::EvolutionaryStrategyOptimizerController.

Definition at line 47 of file freEvolutionaryStrategyOptimizerControllerBase.h.

template<class TOptimizer>
typedef SVNonLinearOptimizerControllerBase<ComponentType> FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer >::Superclass

Reimplemented from FREE::SVNonLinearOptimizerControllerBase< TOptimizer >.

Reimplemented in FREE::EvolutionaryStrategyOptimizerController.

Definition at line 48 of file freEvolutionaryStrategyOptimizerControllerBase.h.


Constructor & Destructor Documentation

template<class TOptimizer>
FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer >::EvolutionaryStrategyOptimizerControllerBase (  )  [inline]

Implementation of FREE::EvolutionaryStrategyOptimizerControllerBase //

Definition at line 35 of file freEvolutionaryStrategyOptimizerControllerBase.txx.

References FREE::ComponentControllerInterface::m_Description, and FREE::ComponentControllerInterface::UpdateControllerID().

Here is the call graph for this function:

FREE::ComponentControllerInterface::UpdateControllerIDFREE::CtrlProfile::ProfileInheritance::AddAncestorFREE::XMLStringMultiMap::AddElementFREE::CtrlProfile::ProfileInheritance::IndexOfAncestorFREE::XMLStringMultiMap::SetElementDataFREE::XMLStringMultiMap::GetElementDataFREE::XMLStringMultiMap::Size


Member Function Documentation

template<class TOptimizer>
FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer >::itkTypeMacro ( EvolutionaryStrategyOptimizerControllerBase< TOptimizer >  ,
SVNonLinearOptimizerControllerBase   
)

template<class TOptimizer>
void FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer >::GenerateProfile ( CtrlProfile::ControllerProfile profile,
const SessionComponentCache pComponentCache,
bool  bRegardOldSetup 
) const [inline, 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.

Parameters:
[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::SVNonLinearOptimizerControllerBase< TOptimizer >.

Reimplemented in FREE::EvolutionaryStrategyOptimizerController.

Definition at line 45 of file freEvolutionaryStrategyOptimizerControllerBase.txx.

References FREE::cParam_Iterations, FREE::cParamDsc_Iterations, FREE::SVNonLinearOptimizerControllerBase< TControlledOptimizer >::GenerateProfile(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), and FREE::Parameter::PVTInteger.

Referenced by FREE::EvolutionaryStrategyOptimizerController::GenerateProfile().

Here is the call graph for this function:

FREE::SVNonLinearOptimizerControllerBase::GenerateProfileFREE::CtrlProfile::ControllerProfileBase::ParametersFREE::CtrlProfile::ProfileOption::CheckForInheritanceFREE::ComponentControllerBase\< TControlledOptimizer \>::GenerateProfileFREE::CtrlProfile::ControllerProfileBase::InheritanceFREE::CtrlProfile::ControllerProfile::Requirements

template<class TOptimizer>
void FREE::EvolutionaryStrategyOptimizerControllerBase< TOptimizer >::ActualizeMainComponent ( ComponentType pMainComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo,
const unsigned int &  iActLevel 
) const [inline, protected, virtual]

This function (called by ActualizeComponent()) actualizes the passed component with the setup information considering the actual resolution level of the ongoing registration. In a derived class this function should be overridden to provide a specific behavior.

Parameters:
[in,out] pMainComponent Pointer to the main component. Can also be retrieved via component cache, but offered directly and already casted for more convenience.
[in,out] pComponentCache Pointer to the component cache that should be actualized.
[in] pSessionInfo Pointer to the session info.
[in] iActLevel Indicates which layer of a parameter should be used, if the parameter is layer sensitive (e.g. as resolution level of a registration). Default is 0.

Reimplemented from FREE::ComponentControllerBase< TOptimizer >.

Definition at line 58 of file freEvolutionaryStrategyOptimizerControllerBase.txx.

References catchAllNPassMacro, FREE::cParam_Iterations, FREE::SessionAccessor::GetParameterValue(), and FREE::OptimizerControllerBase< TOptimizer >::GetTransformScales().

Referenced by FREE::EvolutionaryStrategyOptimizerController::ActualizeMainComponent().

Here is the call graph for this function:

FREE::SessionAccessor::GetParameterValueFREE::OptimizerControllerBase\< TOptimizer \>::GetTransformScalesFREE::SessionComponentCache::GetIDPathFREE::SessionAccessor::GetParameterFREE::IDPath::ToStrFREE::ComponentSetup::GetIDPathFREE::SessionComponentCache::SetupFREE::ComponentSetup::HasParentComponentFREE::SessionComponentCache::ControllerFREE::SessionComponentCache::ControllerIsAssignedFREE::ComponentControllerInterface::GetParameterFREE::IDPath::Size


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