18#ifndef __ScaledSingleValuedNonLinearOptimizer_h
19#define __ScaledSingleValuedNonLinearOptimizer_h
21#include "itkSingleValuedNonLinearOptimizer.h"
124 itkBooleanMacro( Maximize );
127 itkGetConstMacro( Maximize,
bool );
137 void PrintSelf( std::ostream & os, Indent indent )
const override;
A cost function that applies a scaling to another cost function.
ScaledSingleValuedNonLinearOptimizer Self
ParametersType m_UnscaledCurrentPosition
virtual void SetUseScales(bool arg)
ScaledSingleValuedNonLinearOptimizer()
NonLinearOptimizer::ScalesType ScalesType
SmartPointer< const Self > ConstPointer
const ParametersType & GetCurrentPosition(void) const override
virtual void GetScaledDerivative(const ParametersType ¶meters, DerivativeType &derivative) const
Superclass::ParametersType ParametersType
ScaledSingleValuedCostFunction ScaledCostFunctionType
virtual void GetScaledValueAndDerivative(const ParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const
void SetCostFunction(CostFunctionType *costFunction) override
Superclass::DerivativeType DerivativeType
SmartPointer< Self > Pointer
ScaledCostFunctionType::Pointer ScaledCostFunctionPointer
~ScaledSingleValuedNonLinearOptimizer() override
Superclass::CostFunctionType CostFunctionType
bool GetUseScales(void) const
Superclass::MeasureType MeasureType
SingleValuedNonLinearOptimizer Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void InitializeScales(void)
virtual void SetScaledCurrentPosition(const ParametersType ¶meters)
virtual MeasureType GetScaledValue(const ParametersType ¶meters) const
virtual void SetMaximize(bool _arg)
ScaledCostFunctionPointer m_ScaledCostFunction
ScaledSingleValuedNonLinearOptimizer(const Self &)
void SetCurrentPosition(const ParametersType ¶m) override
ParametersType m_ScaledCurrentPosition
void operator=(const Self &)