18 #ifndef __itkCommandIterationUpdate_h
19 #define __itkCommandIterationUpdate_h
31 template <
class TOptimizer >
70 std::cout << std::endl <<
"Position Value";
71 std::cout << std::endl << std::endl;
75 std::cout << m_Optimizer->GetCurrentIteration() <<
" = ";
76 std::cout << m_Optimizer->GetValue() <<
" : ";
77 std::cout << m_Optimizer->GetCurrentPosition() << std::endl;
81 std::cout << std::endl << std::endl;
82 std::cout <<
"After " << m_Optimizer->GetCurrentIteration();
83 std::cout <<
" iterations " << std::endl;
84 std::cout <<
"Solution is = " << m_Optimizer->GetCurrentPosition();
85 std::cout << std::endl;
86 std::cout <<
"With value = " << m_Optimizer->GetValue();
87 std::cout << std::endl;
88 std::cout <<
"Stop condition = " << m_Optimizer->GetStopCondition();
89 std::cout << std::endl;
118 m_Optimizer = optimizer;