19#ifndef itkFullSearchOptimizer_h
20#define itkFullSearchOptimizer_h
22#include "itkSingleValuedNonLinearOptimizer.h"
23#include "itkMapContainer.h"
26#include "itkFixedArray.h"
71 using Superclass::ParametersType;
72 using Superclass::CostFunctionType;
73 using Superclass::CostFunctionPointer;
74 using Superclass::MeasureType;
97 itkGetConstMacro(Maximize,
bool);
98 itkSetMacro(Maximize,
bool);
99 itkBooleanMacro(Maximize);
177 virtual unsigned long
189 virtual ParametersType
192 virtual ParametersType
200 itkGetConstMacro(CurrentIteration,
unsigned long);
211 itkGetConstMacro(Value,
double);
214 itkGetConstMacro(BestValue,
double);
An optimizer based on full search.
Array< ParameterValueType > SearchSpacePointType
unsigned long m_CurrentIteration
virtual unsigned int GetNumberOfSearchSpaceDimensions()
ITK_DISALLOW_COPY_AND_MOVE(FullSearchOptimizer)
virtual void RemoveSearchDimension(unsigned int param_nr)
ParametersType::ValueType ParameterValueType
unsigned int m_NumberOfSearchSpaceDimensions
virtual ParametersType PointToPosition(const SearchSpacePointType &point)
Array< SizeValueType > SearchSpaceSizeType
SearchSpaceSizeType m_SearchSpaceSize
virtual unsigned long GetNumberOfIterations()
SearchSpacePointer m_SearchSpace
virtual void StopOptimization()
StopConditionType m_StopCondition
virtual void MaximizeOff()
SearchSpaceIndexType m_CurrentIndexInSearchSpace
SearchSpaceType::Pointer SearchSpacePointer
itkGetModifiableObjectMacro(SearchSpace, SearchSpaceType)
SearchSpaceIndexType m_BestIndexInSearchSpace
virtual void SetMaximize(bool _arg)
~FullSearchOptimizer() override=default
SearchSpacePointType m_CurrentPointInSearchSpace
SearchSpacePointType m_BestPointInSearchSpace
virtual ParametersType IndexToPosition(const SearchSpaceIndexType &index)
virtual const SearchSpaceSizeType & GetSearchSpaceSize()
void StartOptimization() override
SmartPointer< const Self > ConstPointer
SearchSpaceType::ConstIterator SearchSpaceIteratorType
virtual void UpdateCurrentPosition()
MapContainer< unsigned int, RangeType > SearchSpaceType
ParameterValueType RangeValueType
Array< IndexValueType > SearchSpaceIndexType
virtual void ProcessSearchSpaceChanges()
virtual void AddSearchDimension(unsigned int param_nr, RangeValueType minimum, RangeValueType maximum, RangeValueType step)
virtual void MaximizeOn()
virtual SearchSpacePointType IndexToPoint(const SearchSpaceIndexType &index)
unsigned long m_LastSearchSpaceChanges
virtual void ResumeOptimization()
FixedArray< RangeValueType, 3 > RangeType