FREE::OnePlusOneEvolutionaryOptimizerController Class Reference
[Optimizer controller]

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

#include <freOnePlusOneEvolutionaryOptimizerController.h>

Inheritance diagram for FREE::OnePlusOneEvolutionaryOptimizerController:

Inheritance graph
FREE::SVNonLinearOptimizerControllerBase\< itk::OnePlusOneEvolutionaryOptimizer \>FREE::OptimizerControllerBase\< itk::OnePlusOneEvolutionaryOptimizer \>FREE::ComponentControllerBase\< itk::OnePlusOneEvolutionaryOptimizer \>FREE::ComponentControllerInterfaceFREE::OptimizerControllerInterface
[legend]
Collaboration diagram for FREE::OnePlusOneEvolutionaryOptimizerController:

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

List of all members.

Public Types

typedef
itk::OnePlusOneEvolutionaryOptimizer 
ComponentType
typedef
SVNonLinearOptimizerControllerBase
< ComponentType
Superclass

Public Member Functions

 itkTypeMacro (OnePlusOneEvolutionaryOptimizerController, SVNonLinearOptimizerControllerBase)
virtual MeasuresType GetCurrentValue (ComponentType *pOptimizer) const
 OnePlusOneEvolutionaryOptimizerController ()

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
virtual void ActualizeMainComponent (ComponentType *pMainComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo, const unsigned int &iActLevel) const
virtual void SetStatisticEntryMainComponent (StatisticEntry &rStatisticEntry, ComponentType *pMainComponent, SessionComponentCache *pMainComponentCache, SessionInfo *pSessionInfo, StatisticDictionary &rDictionary) const


Detailed Description

Derived class of a controller objects for optimizers.

OnePlusOneEvolutionaryOptimizerController is derived from OptimizerControllerBase and the class for the control of 1+1-evolutionary optimizer. The class uses the itk::OnePlusOneEvolutionaryOptimizer.

Definition at line 43 of file freOnePlusOneEvolutionaryOptimizerController.h.


Member Typedef Documentation

typedef itk::OnePlusOneEvolutionaryOptimizer FREE::OnePlusOneEvolutionaryOptimizerController::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< itk::OnePlusOneEvolutionaryOptimizer >.

Definition at line 48 of file freOnePlusOneEvolutionaryOptimizerController.h.

typedef SVNonLinearOptimizerControllerBase<ComponentType> FREE::OnePlusOneEvolutionaryOptimizerController::Superclass

Reimplemented from FREE::SVNonLinearOptimizerControllerBase< itk::OnePlusOneEvolutionaryOptimizer >.

Definition at line 49 of file freOnePlusOneEvolutionaryOptimizerController.h.


Constructor & Destructor Documentation

FREE::OnePlusOneEvolutionaryOptimizerController::OnePlusOneEvolutionaryOptimizerController (  ) 

Implementation of FREE::OnePlusOneEvolutionaryOptimizerController //

Definition at line 34 of file freOnePlusOneEvolutionaryOptimizerController.cxx.

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

FREE::OnePlusOneEvolutionaryOptimizerController::itkTypeMacro ( OnePlusOneEvolutionaryOptimizerController  ,
SVNonLinearOptimizerControllerBase   
)

OnePlusOneEvolutionaryOptimizerController::MeasuresType FREE::OnePlusOneEvolutionaryOptimizerController::GetCurrentValue ( ComponentType pOptimizer  )  const [virtual]

Implements FREE::SVNonLinearOptimizerControllerBase< itk::OnePlusOneEvolutionaryOptimizer >.

Definition at line 147 of file freOnePlusOneEvolutionaryOptimizerController.cxx.

void FREE::OnePlusOneEvolutionaryOptimizerController::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.

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< itk::OnePlusOneEvolutionaryOptimizer >.

Definition at line 43 of file freOnePlusOneEvolutionaryOptimizerController.cxx.

References FREE::CtrlProfile::ProfileOption::CheckForInheritance(), FREE::cParam_Iterations, FREE::cParamDsc_Iterations, FREE::SVNonLinearOptimizerControllerBase< TControlledOptimizer >::GenerateProfile(), FREE::CtrlProfile::ControllerProfileBase::Inheritance(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), FREE::Parameter::PVTDouble, FREE::Parameter::PVTInteger, FREE::CtrlProfile::ControllerProfile::Requirements(), and FREE::CtrlProfile::ControllerProfileBase::SubComponents().

Here is the call graph for this function:

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

GenericComponentType * FREE::OnePlusOneEvolutionaryOptimizerController::GetSubComponentCasted ( ComponentType pMainComponent,
const ComponentID compID,
SessionComponentCache pMainComponentCache 
) const [protected, virtual]

Returns the subcomponent specified by the ComponentID. If the component ID is not defined, the return is NULL.
Reimplement the virtual variant of this member function to realize special controller behavior. This version is only for establishing a generic interface.

Parameters:
[in] pMainComponent Pointer to the casted main component, containing the wanted subcomponent.
[in] compID ID specifying the wanted subcomponent.
[in] pMainComponentCache Pointer to the cache of the main component.

Reimplemented from FREE::ComponentControllerBase< itk::OnePlusOneEvolutionaryOptimizer >.

Definition at line 69 of file freOnePlusOneEvolutionaryOptimizerController.cxx.

References FREE::ComponentControllerBase< TControlledOptimizer >::GetSubComponentCasted(), and throwCtrlExceptionMacro.

Here is the call graph for this function:

FREE::ComponentControllerBase\< TControlledOptimizer \>::GetSubComponentCasted

void FREE::OnePlusOneEvolutionaryOptimizerController::SetSubComponentCasted ( GenericComponentType pSubComponent,
ComponentType pMainComponent,
const ComponentID  compID,
SessionComponentCache pMainComponentCache 
) const [protected, virtual]

Definition at line 78 of file freOnePlusOneEvolutionaryOptimizerController.cxx.

References FREE::ComponentControllerBase< TControlledOptimizer >::SetSubComponentCasted().

Here is the call graph for this function:

FREE::ComponentControllerBase\< TControlledOptimizer \>::SetSubComponentCasted

void FREE::OnePlusOneEvolutionaryOptimizerController::ActualizeMainComponent ( ComponentType pMainComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo,
const unsigned int &  iActLevel 
) const [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< itk::OnePlusOneEvolutionaryOptimizer >.

Definition at line 89 of file freOnePlusOneEvolutionaryOptimizerController.cxx.

References catchAllNPassMacro, FREE::SessionComponentCache::Controller(), FREE::cParam_Iterations, FREE::ComponentControllerInterface::GetParameter(), FREE::SessionAccessor::GetParameterValue(), FREE::SessionComponentCache::GetParentCache(), FREE::OptimizerControllerBase< itk::OnePlusOneEvolutionaryOptimizer >::GetTransformScales(), and throwCtrlExceptionMacro.

Here is the call graph for this function:

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

void FREE::OnePlusOneEvolutionaryOptimizerController::SetStatisticEntryMainComponent ( StatisticEntry rStatisticEntry,
ComponentType pMainComponent,
SessionComponentCache pMainComponentCache,
SessionInfo pSessionInfo,
StatisticDictionary rDictionary 
) const [protected, virtual]

This function (called by SetStatisticEntry()) records any statistical information of the passed component In a derived class this function should be overridden to provide a specific behavior.

Parameters:
[in,out] rStatisticEntry reference to the Statistic object, where the relevant information should be stored.
[in] pMainComponent Pointer to the casted component. Also available via cache, but already casted for convenience.
[in] pMainComponentCache Pointer to the component cache.
[in] pSessionInfo Pointer to the session info
[in,out] rDictionary Dictionary with information about the stored facts (e.g. Type, Name) The entry in the dictionary should set by the controller if needed.

Reimplemented from FREE::ComponentControllerBase< itk::OnePlusOneEvolutionaryOptimizer >.

Definition at line 125 of file freOnePlusOneEvolutionaryOptimizerController.cxx.

References FREE::StatisticEntry::AddValue(), FREE::StatisticDictionary::AddValueDefinition(), FREE::SessionComponentCache::GetIDPath(), FREE::StatisticValueDefinition::GetRefID(), FREE::StatisticDictionary::GetValueDefinitionByName(), FREE::OptimizerControllerBase< TControlledOptimizer >::SetStatisticEntryMainComponent(), and FREE::Convert::ToStr().

Here is the call graph for this function:

FREE::StatisticEntry::AddValueFREE::StatisticDictionary::AddValueDefinitionFREE::SessionComponentCache::GetIDPathFREE::StatisticValueDefinition::GetRefIDFREE::StatisticDictionary::GetValueDefinitionByNameFREE::OptimizerControllerBase::SetStatisticEntryMainComponentFREE::Convert::ToStrFREE::SmartCollectionBase::AddElementFREE::SmartCollectionBase::GetElementFREE::CollectionBase::SizeFREE::ComponentSetup::GetIDPathFREE::SessionComponentCache::SetupFREE::ComponentSetup::HasParentComponent


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