FREE::OnePlusOneEvolutionarySOOptimizerController Class Reference
[Optimizer controllerSetup optimization optimizer]

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

#include <freOnePlusOneEvolutionarySOOptimizerController.h>

Inheritance diagram for FREE::OnePlusOneEvolutionarySOOptimizerController:

Inheritance graph
FREE::SetupOptimizationOptimizerControllerBase\< FREE::OnePlusOneEvolutionarySOOptimizer \>FREE::OptimizerControllerBase\< TControlledOptimizer \>FREE::ComponentControllerBase\< TControlledOptimizer \>FREE::ComponentControllerInterfaceFREE::OptimizerControllerInterface
[legend]
Collaboration diagram for FREE::OnePlusOneEvolutionarySOOptimizerController:

Collaboration graph
FREE::SetupOptimizationOptimizerControllerBase\< FREE::OnePlusOneEvolutionarySOOptimizer \>FREE::OptimizerControllerBase\< TControlledOptimizer \>FREE::ComponentControllerBase\< TControlledOptimizer \>FREE::ComponentControllerInterfaceFREE::CtrlProfile::ProfileInheritanceFREE::XMLStringMultiMapFREE::XMLStreamObjectFREE::OptimizerControllerInterface
[legend]

List of all members.

Public Types

typedef
OnePlusOneEvolutionarySOOptimizer 
ComponentType
typedef
SetupOptimizationOptimizerControllerBase
< ComponentType
Superclass

Public Member Functions

 itkTypeMacro (OnePlusOneEvolutionarySOOptimizerController, SetupOptimizationOptimizerControllerBase)
virtual long GetMaxIterationCount (const SessionComponentCache *pComponentCache, unsigned int iResolutionLevel=0) const
 OnePlusOneEvolutionarySOOptimizerController ()

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


Detailed Description

Derived class of a controller object for optimizers.

Definition at line 38 of file freOnePlusOneEvolutionarySOOptimizerController.h.


Member Typedef Documentation

typedef OnePlusOneEvolutionarySOOptimizer FREE::OnePlusOneEvolutionarySOOptimizerController::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::SetupOptimizationOptimizerControllerBase< TControlledOptimizer >.

Definition at line 43 of file freOnePlusOneEvolutionarySOOptimizerController.h.

typedef SetupOptimizationOptimizerControllerBase<ComponentType> FREE::OnePlusOneEvolutionarySOOptimizerController::Superclass

Reimplemented from FREE::SetupOptimizationOptimizerControllerBase< TControlledOptimizer >.

Definition at line 44 of file freOnePlusOneEvolutionarySOOptimizerController.h.


Constructor & Destructor Documentation

FREE::OnePlusOneEvolutionarySOOptimizerController::OnePlusOneEvolutionarySOOptimizerController (  ) 

Implementation of FREE::OnePlusOneEvolutionarySOOptimizerController ///

Definition at line 38 of file freOnePlusOneEvolutionarySOOptimizerController.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::OnePlusOneEvolutionarySOOptimizerController::itkTypeMacro ( OnePlusOneEvolutionarySOOptimizerController  ,
SetupOptimizationOptimizerControllerBase   
)

long FREE::OnePlusOneEvolutionarySOOptimizerController::GetMaxIterationCount ( const SessionComponentCache pComponentCache,
unsigned int  iResolutionLevel = 0 
) const [virtual]

Returns the maximum number of iteration steps of the passed resolution level. The return of the function depends on the derived classes. If the return -1 the count is unknown (e.g optimizer has only a threshold value as stopping criterion)

Reimplemented from FREE::OptimizerControllerBase< TControlledOptimizer >.

Definition at line 93 of file freOnePlusOneEvolutionarySOOptimizerController.cxx.

References catchAllNPassMacro, FREE::cParam_Iterations, FREE::SessionAccessor::GetParameterValue(), FREE::SessionComponentCache::SetupIsAssigned(), and throwCtrlExceptionMacro.

Here is the call graph for this function:

FREE::SessionAccessor::GetParameterValueFREE::SessionComponentCache::SetupIsAssignedFREE::SessionComponentCache::GetIDPathFREE::SessionAccessor::GetParameterFREE::IDPath::ToStrFREE::ComponentSetup::GetIDPathFREE::SessionComponentCache::SetupFREE::ComponentSetup::HasParentComponentFREE::SessionComponentCache::ControllerFREE::SessionComponentCache::ControllerIsAssignedFREE::ComponentControllerInterface::GetParameterFREE::IDPath::Size

void FREE::OnePlusOneEvolutionarySOOptimizerController::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::SetupOptimizationOptimizerControllerBase< TControlledOptimizer >.

Definition at line 47 of file freOnePlusOneEvolutionarySOOptimizerController.cxx.

References FREE::CtrlProfile::ProfileOption::CheckForInheritance(), FREE::cParam_Iterations, FREE::cParamDsc_Iterations, FREE::ComponentControllerBase< 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::ComponentControllerBase\< TControlledOptimizer \>::GenerateProfileFREE::CtrlProfile::ControllerProfileBase::InheritanceFREE::CtrlProfile::ControllerProfileBase::ParametersFREE::CtrlProfile::ControllerProfile::RequirementsFREE::CtrlProfile::ControllerProfileBase::SubComponents

void FREE::OnePlusOneEvolutionarySOOptimizerController::ActualizeMainComponent ( ComponentType pMainComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo,
const unsigned int &  iActLevel 
) const [protected, virtual]

Definition at line 110 of file freOnePlusOneEvolutionarySOOptimizerController.cxx.

References FREE::ComponentControllerBase< TControlledOptimizer >::ActualizeMainComponent(), catchAllNPassMacro, FREE::cComp_MainMetric, FREE::cIDPParent, FREE::cParam_Iterations, FREE::cParam_MetricMinimize, FREE::SessionAccessor::GetParameterByIDPath(), and FREE::SessionAccessor::GetParameterValue().

Here is the call graph for this function:

FREE::ComponentControllerBase\< TControlledOptimizer \>::ActualizeMainComponentFREE::SessionAccessor::GetParameterByIDPathFREE::SessionAccessor::GetParameterValueFREE::DispatchParameterIDPathFREE::IDPath::ToStrFREE::SessionAccessor::GetParameterFREE::IDPath::IsParameterSelectionFREE::IDPath::GetComponentFREE::IDPath::GetParameterIDPathFREE::Convert::IsAIntFREE::Convert::ToIntFREE::IDPath::IsEmptyFREE::IDPath::SizeFREE::IDPath::AssembleIDPathFREE::IDPath::AddComponentFREE::IDPath::SetAbsoluteFREE::Convert::ToStrFREE::SessionComponentCache::ControllerFREE::SessionComponentCache::ControllerIsAssignedFREE::ComponentControllerInterface::GetParameterFREE::SessionComponentCache::GetIDPathFREE::ComponentSetup::GetIDPathFREE::SessionComponentCache::SetupFREE::ComponentSetup::HasParentComponent

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

Definition at line 150 of file freOnePlusOneEvolutionarySOOptimizerController.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::OnePlusOneEvolutionarySOOptimizerController::SetStatisticEntrySubComponents ( StatisticEntry rStatisticEntry,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo,
StatisticDictionary rDictionary 
) const [protected, virtual]

Reimplemented version, that does nothing, because the default function would try to get the subcomponent variate generator.

Reimplemented from FREE::ComponentControllerBase< TControlledOptimizer >.

Definition at line 189 of file freOnePlusOneEvolutionarySOOptimizerController.cxx.

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

Definition at line 73 of file freOnePlusOneEvolutionarySOOptimizerController.cxx.

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

Here is the call graph for this function:

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

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

Definition at line 82 of file freOnePlusOneEvolutionarySOOptimizerController.cxx.

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

Here is the call graph for this function:

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


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