18 #ifndef itkWindowConvergenceMonitoringFunction_h
19 #define itkWindowConvergenceMonitoringFunction_h
38 template <
typename TScalar =
double>
58 using typename Superclass::EnergyValueType;
59 using typename Superclass::EnergyValueContainerType;
60 using typename Superclass::EnergyValueContainerSizeType;
66 AddEnergyValue(
const EnergyValueType)
override;
70 ClearEnergyValues()
override;
73 itkSetMacro(WindowSize, EnergyValueContainerSizeType);
74 itkGetConstMacro(WindowSize, EnergyValueContainerSizeType);
79 GetConvergenceValue()
const override;
87 PrintSelf(std::ostream & os,
Indent indent)
const override;
90 EnergyValueContainerSizeType m_WindowSize{};
97 #ifndef ITK_MANUAL_INSTANTIATION
98 # include "itkWindowConvergenceMonitoringFunction.hxx"