Lines Matching refs:finalParameters
121 OptimizerType::ParametersType initialParameters( 1 ), finalParameters; in PSOTest1() local
145 finalParameters = itkOptimizer->GetCurrentPosition(); in PSOTest1()
150 finalParameters = itkOptimizer->GetCurrentPosition(); in PSOTest1()
152 std::cout << "Estimated parameters = " << finalParameters << std::endl; in PSOTest1()
153 if( fabs( finalParameters[0] - knownParameters ) > xTolerance ) in PSOTest1()
169 finalParameters = itkOptimizer->GetCurrentPosition(); in PSOTest1()
174 finalParameters = itkOptimizer->GetCurrentPosition(); in PSOTest1()
176 std::cout << "Estimated parameters = " << finalParameters << std::endl; in PSOTest1()
177 if( fabs( finalParameters[0] - knownParameters ) > xTolerance ) in PSOTest1()
222 OptimizerType::ParametersType initialParameters( 2 ), finalParameters; in PSOTest2() local
246 finalParameters = itkOptimizer->GetCurrentPosition(); in PSOTest2()
251 finalParameters = itkOptimizer->GetCurrentPosition(); in PSOTest2()
253 std::cout << "Estimated parameters = " << finalParameters << std::endl; in PSOTest2()
254 if( fabs( finalParameters[0] - knownParameters[0] ) > xTolerance || in PSOTest2()
255 fabs( finalParameters[1] - knownParameters[1] ) > xTolerance ) in PSOTest2()
304 OptimizerType::ParametersType finalParameters; in PSOTest3() local
401 finalParameters = itkOptimizer->GetCurrentPosition(); in PSOTest3()
403 std::cout << "Estimated parameters = " << finalParameters << std::endl; in PSOTest3()
404 if( fabs( finalParameters[0] - knownParameters[0] ) > xTolerance || in PSOTest3()
405 fabs( finalParameters[1] - knownParameters[1] ) > xTolerance ) in PSOTest3()
430 finalParameters = itkOptimizer->GetCurrentPosition(); in PSOTest3()
432 std::cout << "Estimated parameters = " << finalParameters << std::endl; in PSOTest3()
433 if( fabs( finalParameters[0] - knownParameters[0] ) > xTolerance || in PSOTest3()
434 fabs( finalParameters[1] - knownParameters[1] ) > xTolerance ) in PSOTest3()
466 finalParameters = itkOptimizer->GetCurrentPosition(); in PSOTest3()
468 std::cout << "Estimated parameters = " << finalParameters << std::endl; in PSOTest3()
469 if( fabs( finalParameters[0] - knownParameters[0] ) > xTolerance || in PSOTest3()
470 fabs( finalParameters[1] - knownParameters[1] ) > xTolerance ) in PSOTest3()