Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ImprovedLevenbergMarquardtMinimizer.h

Go to the documentation of this file.
00001 // ImprovedLevenbergMarquardtMinimizer.h: interface for the CImprovedLevenbergMarquardtMinimizer class.
00002 //
00004 
00005 // Made UNIX friendly 9/5/02
00006 
00007 #if !defined(AFX_IMPROVEDLEVENBERGMARQUARDTMINIMIZER_H__9039A15E_5863_4BEA_B916_644103251249__INCLUDED_)
00008 #define AFX_IMPROVEDLEVENBERGMARQUARDTMINIMIZER_H__9039A15E_5863_4BEA_B916_644103251249__INCLUDED_
00009 
00010 #if _MSC_VER > 1000
00011 #pragma once
00012 #endif // _MSC_VER > 1000
00013 
00014 //using namespace std;
00015 
00016 #include "MatrixOperations.h"
00017 #include "LevenbergMarquardtMinimizer.h"
00018 
00019 class CImprovedLevenbergMarquardtMinimizer : public CLevenbergMarquardtMinimizer  
00020 {
00021 public:
00022         CImprovedLevenbergMarquardtMinimizer();
00023         CImprovedLevenbergMarquardtMinimizer(CParameterFilter *pFilter, bool psdFlag, double marquardt, bool checkChi, double chiTol, bool checkGrad, double gradTol, bool checkPar, double parTol, int nIterations, double funcAccuracy);
00024         virtual ~CImprovedLevenbergMarquardtMinimizer();
00025         double Minimize(double *parameters, Minimizable *minimizable);
00026         // Solve LM system using Singular Value Decomp.
00027         void SVDSolveMarquardtSystem(double *deltaP);
00028 private:
00029         bool m_bChiSqFlag;                              // Set to true for convergence on chi-squared
00030         bool m_bGradFlag;                               // Set to true for convergence on ||g||
00031         bool m_bParFlag;                // Set to true for convergence on parameters
00032 };
00033 
00034 #endif // !defined(AFX_IMPROVEDLEVENBERGMARQUARDTMINIMIZER_H__9039A15E_5863_4BEA_B916_644103251249__INCLUDED_)

Generated on Mon Nov 3 09:37:55 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002