#include <ConjugateGradientMinimizer.h>
Inheritance diagram for CConjugateGradientMinimizer:
Public Methods | |
CConjugateGradientMinimizer (bool searchFlag, CParameterFilter *pFilter, int nIterations, double funcAccuracy, int nRestarts=3, double gradTol=1.0e-06, double funcTol=1.0e-08) | |
virtual | ~CConjugateGradientMinimizer () |
double | Minimize (double *parameters, Minimizable *minimizable) |
void | ComputeGradient (double *parameters) |
void | BracketMinimum (double *xA, double *fA, double *xB, double *fB, double *xC, double *fC) |
void | BrentLine (double xA, double xB, double xC, double *xM, double *fM) |
bool | CheckGradTol (double norm) |
bool | CheckFuncTol (double diff) |
double | LineEvaluate (double alpha) |
double | SgnProduct (double a, double b) |
const double * | GetForceVector () const |
int | GetNParameters () |
Private Attributes | |
bool | m_bSearchFlag |
int | m_iNIterations |
int | m_iNRestarts |
double | m_dFuncAccuracy |
double | m_dGradTol |
double | m_dFuncTol |
double * | m_pdCurrentParameters |
double * | m_pdSearchDirection |
double * | m_pdGradient |
double * | m_pdForceVector |
double | m_dMinTol |
CMatrixOperations * | m_pMO |
CParameterFilter * | m_pFilter |
Minimizable * | m_pMinimizable |
Static Private Attributes | |
const double | m_dGOLD = 1.618034 |
|
Definition at line 14 of file ConjugateGradientMinimizer.cpp. References m_bSearchFlag, m_dFuncAccuracy, m_dFuncTol, m_dGradTol, m_dMinTol, m_iNIterations, m_iNRestarts, m_pFilter, and m_pMO. |
|
Definition at line 27 of file ConjugateGradientMinimizer.cpp. References m_pMO. |
|
Definition at line 261 of file ConjugateGradientMinimizer.cpp. References LineEvaluate, and m_dGOLD. Referenced by Minimize. |
|
Definition at line 345 of file ConjugateGradientMinimizer.cpp. References LineEvaluate, m_dGOLD, m_dMinTol, and SgnProduct. Referenced by Minimize. |
|
Definition at line 509 of file ConjugateGradientMinimizer.cpp. References m_dFuncTol. Referenced by Minimize. |
|
Definition at line 496 of file ConjugateGradientMinimizer.cpp. References m_dGradTol. Referenced by Minimize. |
|
Definition at line 205 of file ConjugateGradientMinimizer.cpp. References CParameterFilter::BackwardTransformation, CParameterFilter::ForwardTransformation, m_dFuncAccuracy, m_pdForceVector, m_pdGradient, m_pFilter, m_pMinimizable, Subject::Notify, Minimizer::nParameters, Minimizable::ObjectiveFunction, CParameterFilter::Operator, and CParameterFilter::OperatorInverse. Referenced by Minimize. |
|
Definition at line 43 of file ConjugateGradientMinimizer.h. References m_pdForceVector. Referenced by CConjugateGradientObserver::Update. |
|
Definition at line 44 of file ConjugateGradientMinimizer.h. References Minimizer::nParameters. Referenced by CConjugateGradientObserver::Update. |
|
Definition at line 522 of file ConjugateGradientMinimizer.cpp. References CParameterFilter::BackwardTransformation, m_pdCurrentParameters, m_pdSearchDirection, m_pFilter, m_pMinimizable, m_pMO, Minimizer::nParameters, Minimizable::ObjectiveFunction, and CMatrixOperations::TwoVectorLC. Referenced by BracketMinimum, BrentLine, and Minimize. |
|
|
Definition at line 538 of file ConjugateGradientMinimizer.cpp. Referenced by BrentLine. |
|
Definition at line 46 of file ConjugateGradientMinimizer.h. Referenced by CConjugateGradientMinimizer, and Minimize. |
|
Definition at line 51 of file ConjugateGradientMinimizer.h. Referenced by CConjugateGradientMinimizer, and ComputeGradient. |
|
Definition at line 53 of file ConjugateGradientMinimizer.h. Referenced by CConjugateGradientMinimizer, and CheckFuncTol. |
|
Definition at line 11 of file ConjugateGradientMinimizer.cpp. Referenced by BracketMinimum, and BrentLine. |
|
Definition at line 52 of file ConjugateGradientMinimizer.h. Referenced by CConjugateGradientMinimizer, and CheckGradTol. |
|
Definition at line 59 of file ConjugateGradientMinimizer.h. Referenced by BrentLine, and CConjugateGradientMinimizer. |
|
Definition at line 48 of file ConjugateGradientMinimizer.h. Referenced by CConjugateGradientMinimizer, and Minimize. |
|
Definition at line 49 of file ConjugateGradientMinimizer.h. Referenced by CConjugateGradientMinimizer, and Minimize. |
|
Definition at line 54 of file ConjugateGradientMinimizer.h. Referenced by LineEvaluate, and Minimize. |
|
Definition at line 57 of file ConjugateGradientMinimizer.h. Referenced by ComputeGradient, GetForceVector, and Minimize. |
|
Definition at line 56 of file ConjugateGradientMinimizer.h. Referenced by ComputeGradient, and Minimize. |
|
Definition at line 55 of file ConjugateGradientMinimizer.h. Referenced by LineEvaluate, and Minimize. |
|
Definition at line 61 of file ConjugateGradientMinimizer.h. Referenced by CConjugateGradientMinimizer, ComputeGradient, LineEvaluate, and Minimize. |
|
Definition at line 62 of file ConjugateGradientMinimizer.h. Referenced by ComputeGradient, LineEvaluate, and Minimize. |
|
Definition at line 60 of file ConjugateGradientMinimizer.h. Referenced by CConjugateGradientMinimizer, LineEvaluate, Minimize, and ~CConjugateGradientMinimizer. |