21 #ifndef otbMRFOptimizer_h
22 #define otbMRFOptimizer_h
24 #include "itkObject.h"
25 #include "itkObjectFactory.h"
54 itkGetConstMacro(NumberOfParameters,
unsigned int);
59 return this->m_Parameters;
64 if (parameters.GetSize() != m_NumberOfParameters)
66 itkExceptionMacro(<<
"Invalid number of parameters (" << parameters.GetSize() <<
" , " << m_NumberOfParameters <<
")");
68 m_Parameters = parameters;
72 virtual bool Compute(
double deltaEnergy) = 0;