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

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

#include <freEvolutionaryStrategySOOptimizerController.h>

Inheritance diagram for FREE::EvolutionaryStrategySOOptimizerController:

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

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

List of all members.

Public Types

typedef
EvolutionaryStrategySOOptimizer 
ComponentType
typedef
SetupOptimizationOptimizerControllerBase
< ComponentType
Superclass

Public Member Functions

 itkTypeMacro (EvolutionaryStrategySOOptimizerController, SetupOptimizationOptimizerControllerBase)
 DeclareParameterMacro (MutateIntitialPopulation)
 DeclareParameterMacro (IntitialPopulation)
 DeclareParameterMacro (NumberOfParents)
 DeclareParameterMacro (NumberOfChildren)
 DeclareParameterMacro (Threshold)
virtual long GetMaxIterationCount (const SessionComponentCache *pComponentCache, unsigned int iResolutionLevel=0) const
 EvolutionaryStrategySOOptimizerController ()

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
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 freEvolutionaryStrategySOOptimizerController.h.


Member Typedef Documentation

typedef EvolutionaryStrategySOOptimizer FREE::EvolutionaryStrategySOOptimizerController::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 freEvolutionaryStrategySOOptimizerController.h.

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

Reimplemented from FREE::SetupOptimizationOptimizerControllerBase< TControlledOptimizer >.

Definition at line 44 of file freEvolutionaryStrategySOOptimizerController.h.


Constructor & Destructor Documentation

FREE::EvolutionaryStrategySOOptimizerController::EvolutionaryStrategySOOptimizerController (  ) 

Definition at line 48 of file freEvolutionaryStrategySOOptimizerController.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::EvolutionaryStrategySOOptimizerController::itkTypeMacro ( EvolutionaryStrategySOOptimizerController  ,
SetupOptimizationOptimizerControllerBase   
)

FREE::EvolutionaryStrategySOOptimizerController::DeclareParameterMacro ( MutateIntitialPopulation   ) 

FREE::EvolutionaryStrategySOOptimizerController::DeclareParameterMacro ( IntitialPopulation   ) 

FREE::EvolutionaryStrategySOOptimizerController::DeclareParameterMacro ( NumberOfParents   ) 

FREE::EvolutionaryStrategySOOptimizerController::DeclareParameterMacro ( NumberOfChildren   ) 

FREE::EvolutionaryStrategySOOptimizerController::DeclareParameterMacro ( Threshold   ) 

long FREE::EvolutionaryStrategySOOptimizerController::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 102 of file freEvolutionaryStrategySOOptimizerController.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::EvolutionaryStrategySOOptimizerController::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 57 of file freEvolutionaryStrategySOOptimizerController.cxx.

References FREE::CtrlProfile::ProfileOption::CheckForInheritance(), FREE::cParam_Iterations, FREE::cParamDsc_Iterations, FREE::csUndefinedController, FREE::ComponentControllerBase< TControlledOptimizer >::GenerateProfile(), FREE::CtrlProfile::ControllerProfileBase::Inheritance(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), FREE::Parameter::PVTBool, FREE::Parameter::PVTDouble, FREE::Parameter::PVTInteger, FREE::Parameter::PVTULong, 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::EvolutionaryStrategySOOptimizerController::ActualizeMainComponent ( ComponentType pMainComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo,
const unsigned int &  iActLevel 
) const [protected, virtual]

Definition at line 145 of file freEvolutionaryStrategySOOptimizerController.cxx.

References FREE::ComponentControllerBase< TControlledOptimizer >::ActualizeMainComponent(), catchAllNPassMacro, FREE::cComp_MainMetric, FREE::cIDPParent, FREE::cParam_Iterations, FREE::cParam_MetricMinimize, FREE::SessionAccessor::GetParameter(), FREE::SessionAccessor::GetParameterByIDPath(), FREE::SessionAccessor::GetParameterValue(), FREE::XMLValueSet::GetValue(), FREE::IDPath::Parameter(), FREE::XMLValueSet::Size(), and throwCtrlExceptionMacro.

Here is the call graph for this function:

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

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

Definition at line 222 of file freEvolutionaryStrategySOOptimizerController.cxx.

References FREE::StatisticDictionary::AddEntryDefinition(), FREE::StatisticEntry::AddValue(), FREE::StatisticDictionary::AddValueDefinition(), FREE::StatisticEntry::CloseEntry(), FREE::StatisticEntry::CreateChildEntry(), FREE::SessionComponentCache::GetControllerID(), FREE::StatisticDictionary::GetEntryDefinitionByName(), FREE::SessionComponentCache::GetIDPath(), FREE::StatisticValueDefinition::GetRefID(), FREE::StatisticEntryDefinition::GetRefID(), FREE::StatisticDictionary::GetValueDefinitionByName(), FREE::StatisticEntry::SetRefID(), throwCtrlExceptionMacro, and FREE::Convert::ToStr().

Here is the call graph for this function:

FREE::StatisticDictionary::AddEntryDefinitionFREE::StatisticEntry::AddValueFREE::StatisticDictionary::AddValueDefinitionFREE::StatisticEntry::CloseEntryFREE::StatisticEntry::CreateChildEntryFREE::SessionComponentCache::GetControllerIDFREE::StatisticDictionary::GetEntryDefinitionByNameFREE::SessionComponentCache::GetIDPathFREE::StatisticValueDefinition::GetRefIDFREE::StatisticEntryDefinition::GetRefIDFREE::StatisticDictionary::GetValueDefinitionByNameFREE::StatisticEntry::SetRefIDFREE::Convert::ToStrFREE::SmartCollectionBase::AddElementFREE::SmartCollectionBase::GetElementFREE::CollectionBase::SizeFREE::StatisticData::CloseEntryFREE::TimeStampedObject::IsClosedFREE::TimeStampedObject::SetClosingTimeStampFREE::TimeStampedObject::StampFREE::StatisticData::CreateEntryFREE::StatisticData::OpenEntryFREE::StatisticEntry::PostCreateChildEntryFREE::StatisticEntry::NewFREE::StatisticEntry::StatisticEntryFREE::SessionComponentCache::ControllerFREE::ComponentControllerInterface::ControllerIDFREE::ComponentSetup::GetIDPathFREE::SessionComponentCache::SetupFREE::ComponentSetup::HasParentComponent

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

Definition at line 119 of file freEvolutionaryStrategySOOptimizerController.cxx.

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

Here is the call graph for this function:

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

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

Definition at line 131 of file freEvolutionaryStrategySOOptimizerController.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:32 2007 for f.r.e.e. - Flexible Registration and Evaluation Engine by doxygen 1.5.3 written by Dimitri van Heesch, © 1997-2000