FREE::AmoebaOptimizerController Class Reference
[Optimizer controller]

Controller for the itk::AmoebaOptimizer. More...

#include <freAmoebaOptimizerController.h>

Inheritance diagram for FREE::AmoebaOptimizerController:

Inheritance graph
FREE::SVNonLinearVNLOptimizerControllerBase\< itk::AmoebaOptimizer \>FREE::SVNonLinearOptimizerControllerBase\< itk::AmoebaOptimizer \>FREE::OptimizerControllerBase\< itk::AmoebaOptimizer \>FREE::ComponentControllerBase\< itk::AmoebaOptimizer \>FREE::ComponentControllerInterfaceFREE::OptimizerControllerInterface
[legend]
Collaboration diagram for FREE::AmoebaOptimizerController:

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

List of all members.

Public Types

typedef
itk::AmoebaOptimizer 
ComponentType
typedef
SVNonLinearVNLOptimizerControllerBase
< ComponentType
Superclass

Public Member Functions

 itkTypeMacro (AmoebaOptimizerController, SVNonLinearVNLOptimizerControllerBase)
 DeclareParameterMacro (AutoInitialSimplex)
 DeclareParameterMacro (SimplexDelta)
 DeclareParameterMacro (ParamConvTolerance)
 DeclareParameterMacro (FunctConvTolerance)
 AmoebaOptimizerController ()

Protected Member Functions

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
virtual void GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const


Detailed Description

Controller for the itk::AmoebaOptimizer.

AmoebaOptimizerController is derived from OptimizerControllerBase and the class for the control of an amoeba optimizer. The class uses the itk::AmoebaOptimizer

Definition at line 42 of file freAmoebaOptimizerController.h.


Member Typedef Documentation

typedef itk::AmoebaOptimizer FREE::AmoebaOptimizerController::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::SVNonLinearVNLOptimizerControllerBase< itk::AmoebaOptimizer >.

Definition at line 47 of file freAmoebaOptimizerController.h.

typedef SVNonLinearVNLOptimizerControllerBase<ComponentType> FREE::AmoebaOptimizerController::Superclass

Reimplemented from FREE::SVNonLinearVNLOptimizerControllerBase< itk::AmoebaOptimizer >.

Definition at line 48 of file freAmoebaOptimizerController.h.


Constructor & Destructor Documentation

FREE::AmoebaOptimizerController::AmoebaOptimizerController (  ) 

Definition at line 43 of file freAmoebaOptimizerController.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::AmoebaOptimizerController::itkTypeMacro ( AmoebaOptimizerController  ,
SVNonLinearVNLOptimizerControllerBase   
)

FREE::AmoebaOptimizerController::DeclareParameterMacro ( AutoInitialSimplex   ) 

FREE::AmoebaOptimizerController::DeclareParameterMacro ( SimplexDelta   ) 

FREE::AmoebaOptimizerController::DeclareParameterMacro ( ParamConvTolerance   ) 

FREE::AmoebaOptimizerController::DeclareParameterMacro ( FunctConvTolerance   ) 

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

Definition at line 68 of file freAmoebaOptimizerController.cxx.

References catchAllNPassMacro, FREE::cComp_MainTransform, FREE::SessionComponentCache::Controller(), FREE::cParam_Iterations, FREE::ComponentSetup::GetComponentByIDPath(), FREE::ComponentControllerInterface::GetParameter(), FREE::SessionAccessor::GetParameterValue(), FREE::SessionComponentCache::GetParentCache(), FREE::OptimizerControllerBase< itk::AmoebaOptimizer >::GetTransformScales(), FREE::SessionComponentCache::Setup(), and throwCtrlExceptionMacro.

Here is the call graph for this function:

FREE::SessionComponentCache::ControllerFREE::ComponentSetup::GetComponentByIDPathFREE::ComponentControllerInterface::GetParameterFREE::SessionAccessor::GetParameterValueFREE::SessionComponentCache::SetupFREE::SessionComponentCache::GetParentCacheFREE::OptimizerControllerBase\< itk::AmoebaOptimizer \>::GetTransformScalesFREE::ComponentSetup::ComponentsFREE::KeyedCollectionBase::GetElementFREE::IDPath::GetFirstComponentFREE::ComponentSetup::GetParentComponentFREE::ComponentSetup::GetRootComponentFREE::IDPath::GetSubIDPathFREE::IDPath::SetAbsoluteFREE::IDPath::IsAbsoluteFREE::IDPath::IsEmptyFREE::IDPath::ToStrFREE::KeyedCollectionBase::GetElementIndexFREE::IDPath::GetComponentFREE::IDPath::SizeFREE::IDPath::AssembleIDPathFREE::IDPath::AddComponentFREE::SessionComponentCache::GetIDPathFREE::SessionAccessor::GetParameterFREE::ComponentSetup::GetIDPathFREE::ComponentSetup::HasParentComponentFREE::SessionComponentCache::ControllerIsAssigned

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

Definition at line 114 of file freAmoebaOptimizerController.cxx.

References FREE::StatisticEntry::AddValue(), FREE::StatisticDictionary::AddValueDefinition(), FREE::SessionComponentCache::GetIDPath(), FREE::StatisticValueDefinition::GetRefID(), FREE::StatisticDictionary::GetValueDefinitionByName(), and FREE::Convert::ToStr().

Here is the call graph for this function:

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

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

Definition at line 52 of file freAmoebaOptimizerController.cxx.

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

Here is the call graph for this function:

FREE::SVNonLinearOptimizerControllerBase\< TControlledVNLOptimizer \>::GenerateProfileFREE::CtrlProfile::ControllerProfileBase::Parameters


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