![]() |
ITK
5.4.0
Insight Toolkit
|
#include <itkMultiStartOptimizerv4.h>
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
MultiStartOptimizerv4Template () | |
~MultiStartOptimizerv4Template () override=default | |
![]() | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
ObjectToObjectOptimizerBaseTemplate () | |
~ObjectToObjectOptimizerBaseTemplate () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes | |
ParameterListSizeType | m_BestParametersIndex {} |
OptimizerPointer | m_LocalOptimizer {} |
MeasureType | m_MaximumMetricValue {} |
MetricValuesListType | m_MetricValuesList {} |
MeasureType | m_MinimumMetricValue {} |
ParametersListType | m_ParametersList {} |
bool | m_Stop { false } |
StopConditionObjectToObjectOptimizerEnum | m_StopCondition {} |
StopConditionDescriptionType | m_StopConditionDescription {} |
![]() | |
SizeValueType | m_CurrentIteration {} |
MeasureType | m_CurrentMetricValue {} |
bool | m_DoEstimateScales {} |
MetricTypePointer | m_Metric {} |
SizeValueType | m_NumberOfIterations {} |
ThreadIdType | m_NumberOfWorkUnits {} |
ScalesType | m_Scales {} |
bool | m_ScalesAreIdentity {} |
ScalesEstimatorType::Pointer | m_ScalesEstimator {} |
ScalesType | m_Weights {} |
bool | m_WeightsAreIdentity {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
Multi-start searches over input parameters and returns the best metric value.
The multi-start algorithm performs gradient descent from N (large) number of starting points and returns the best solution. Ideal start points would sample the solution space almost uniformly, thus, in theory, this is a global optimizer. In this implementation, the quality of the optimization depends on the parameter space samples that the user inputs to the optimizer. Multi-start can be modified in numerous ways to improve robustness of standard approaches. These improvements usually focus modifying the parameter sample space. This is why we place the burden on the user to provide the parameter samples over which to optimize.
Definition at line 42 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::ConstPointer = SmartPointer<const Self> |
Definition at line 52 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::DerivativeType = typename MetricType::DerivativeType |
Derivative type
Definition at line 103 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::InternalComputationValueType = TInternalComputationValueType |
Stop condition return string type It should be possible to derive the internal computation type from the class object.
Definition at line 96 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::LocalOptimizerPointer = typename LocalOptimizerType::Pointer |
Definition at line 67 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::LocalOptimizerType = typename itk::GradientDescentOptimizerv4Template<TInternalComputationValueType> |
Definition at line 66 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::MetricTypePointer = typename MetricType::Pointer |
Definition at line 100 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::MetricValuesListType = std::vector<MeasureType> |
Definition at line 107 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::OptimizerPointer = typename OptimizerType::Pointer |
Definition at line 65 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::OptimizerType = ObjectToObjectOptimizerBaseTemplate<TInternalComputationValueType> |
Definition at line 64 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::ParameterListSizeType = typename ParametersListType::size_type |
Definition at line 62 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::ParametersListType = std::vector<ParametersType> |
Definition at line 61 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::Pointer = SmartPointer<Self> |
Definition at line 51 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::Self = MultiStartOptimizerv4Template |
Standard class type aliases.
Definition at line 49 of file itkMultiStartOptimizerv4.h.
using itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::Superclass = ObjectToObjectOptimizerBaseTemplate<TInternalComputationValueType> |
Definition at line 50 of file itkMultiStartOptimizerv4.h.
|
protected |
Default constructor
|
overrideprotecteddefault |
Default constructor
ParametersType itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::GetBestParameters | ( | ) |
Return the parameters from the best visited position.
|
inline |
Definition at line 156 of file itkMultiStartOptimizerv4.h.
const MetricValuesListType& itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::GetMetricValuesList | ( | ) | const |
Get the list of metric values that we produced after the multi-start search.
|
virtual |
Set/Get the optimizer.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ObjectToObjectOptimizerBaseTemplate< TInternalComputationValueType >.
ParametersListType& itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::GetParametersList | ( | ) |
Get the list of parameters over which to search.
|
virtual |
Get stop condition enum
|
overridevirtual |
Get the reason for termination
Implements itk::ObjectToObjectOptimizerBaseTemplate< TInternalComputationValueType >.
void itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::InstantiateLocalOptimizer | ( | ) |
Create an instance of the local optimizer
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
|
virtual |
Resume the optimization. Can be called after StopOptimization to resume. The bulk of the optimization work loop is here.
|
virtual |
Set/Get the optimizer.
void itk::MultiStartOptimizerv4Template< TInternalComputationValueType >::SetParametersList | ( | ParametersListType & | p | ) |
Set the list of parameters over which to search.
|
overridevirtual |
Begin the optimization
Reimplemented from itk::ObjectToObjectOptimizerBaseTemplate< TInternalComputationValueType >.
|
virtual |
Stop optimization. The object is left in a state so the optimization can be resumed by calling ResumeOptimization.
|
protected |
Definition at line 178 of file itkMultiStartOptimizerv4.h.
|
protected |
Definition at line 179 of file itkMultiStartOptimizerv4.h.
|
protected |
Definition at line 177 of file itkMultiStartOptimizerv4.h.
|
protected |
Definition at line 175 of file itkMultiStartOptimizerv4.h.
|
protected |
Definition at line 176 of file itkMultiStartOptimizerv4.h.
|
protected |
Definition at line 174 of file itkMultiStartOptimizerv4.h.
|
protected |
Definition at line 171 of file itkMultiStartOptimizerv4.h.
|
protected |
Definition at line 172 of file itkMultiStartOptimizerv4.h.
|
protected |
Definition at line 173 of file itkMultiStartOptimizerv4.h.