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

CPeriodicQuenchMinimizer Class Reference

#include <PeriodicQuenchMinimizer.h>

Inheritance diagram for CPeriodicQuenchMinimizer:

Inheritance graph
[legend]
Collaboration diagram for CPeriodicQuenchMinimizer:

Collaboration graph
[legend]
List of all members.

Public Methods

 CPeriodicQuenchMinimizer (int RNGSeed, CParameterFilter *pFilter, bool LMflag, int nQuench, int nSteps, double tol=1.0e-02, double T=10, double deltaX=1.0, double c=10)
virtual ~CPeriodicQuenchMinimizer (void)
double Minimize (double *parameters, Minimizable *minimizable)
virtual bool AcceptMove (double Eold, double Enew)
virtual void GenerateMove ()
void WriteQuenchedParameters (int iter, double E)

Protected Attributes

CMatrixOperationsm_pMO
Randm_pRNG
CParameterFilterm_pFilter
Minimizerm_pQuencher
double * m_pdCurrentParameters
double * m_pdTrialParameters
int m_iNQuenches
int m_iNMCSteps
double m_dC
double m_dDeltaX
double m_dSqrLogParDiff
double m_dTemperature
double m_dAcceptanceRatio
int m_iRNGSeed
double m_dECurrent

Constructor & Destructor Documentation

CPeriodicQuenchMinimizer::CPeriodicQuenchMinimizer int    RNGSeed,
CParameterFilter   pFilter,
bool    LMflag,
int    nQuench,
int    nSteps,
double    tol = 1.0e-02,
double    T = 10,
double    deltaX = 1.0,
double    c = 10
 

Definition at line 3 of file PeriodicQuenchMinimizer.cpp.

References m_dC, m_dDeltaX, m_dTemperature, m_iNMCSteps, m_iNQuenches, m_iRNGSeed, m_pFilter, m_pMO, m_pQuencher, and m_pRNG.

CPeriodicQuenchMinimizer::~CPeriodicQuenchMinimizer void    [virtual]
 

Definition at line 25 of file PeriodicQuenchMinimizer.cpp.

References m_pMO, m_pQuencher, and m_pRNG.


Member Function Documentation

bool CPeriodicQuenchMinimizer::AcceptMove double    Eold,
double    Enew
[virtual]
 

Definition at line 142 of file PeriodicQuenchMinimizer.cpp.

References m_dC, m_dDeltaX, m_dSqrLogParDiff, m_dTemperature, m_pRNG, Minimizer::nParameters, and Rand::uniform.

Referenced by Minimize.

void CPeriodicQuenchMinimizer::GenerateMove   [virtual]
 

Definition at line 124 of file PeriodicQuenchMinimizer.cpp.

References CParameterFilter::BackwardTransformation, CParameterFilter::ForwardTransformation, Rand::gaussian, m_dC, m_dDeltaX, m_dECurrent, m_dSqrLogParDiff, m_dTemperature, m_pdCurrentParameters, m_pdTrialParameters, m_pFilter, m_pRNG, and Minimizer::nParameters.

Referenced by Minimize.

double CPeriodicQuenchMinimizer::Minimize double *    parameters,
Minimizable   minimizable
[virtual]
 

Implements Minimizer.

Definition at line 32 of file PeriodicQuenchMinimizer.cpp.

References AcceptMove, CMatrixOperations::ElementCopy, Minimizable::F, GenerateMove, Minimizable::GetNParameters, m_dAcceptanceRatio, m_dECurrent, m_dTemperature, m_iNMCSteps, m_iNQuenches, m_pdCurrentParameters, m_pdTrialParameters, m_pMO, m_pQuencher, Minimizer::Minimize, Minimizer::nParameters, Minimizable::ObjectiveFunction, and WriteQuenchedParameters.

void CPeriodicQuenchMinimizer::WriteQuenchedParameters int    iter,
double    E
 

Definition at line 104 of file PeriodicQuenchMinimizer.cpp.

References m_pdCurrentParameters, and Minimizer::nParameters.

Referenced by Minimize.


Member Data Documentation

double CPeriodicQuenchMinimizer::m_dAcceptanceRatio [protected]
 

Definition at line 44 of file PeriodicQuenchMinimizer.h.

Referenced by Minimize.

double CPeriodicQuenchMinimizer::m_dC [protected]
 

Definition at line 36 of file PeriodicQuenchMinimizer.h.

Referenced by AcceptMove, CPeriodicQuenchMinimizer, and GenerateMove.

double CPeriodicQuenchMinimizer::m_dDeltaX [protected]
 

Definition at line 38 of file PeriodicQuenchMinimizer.h.

Referenced by AcceptMove, CPeriodicQuenchMinimizer, and GenerateMove.

double CPeriodicQuenchMinimizer::m_dECurrent [protected]
 

Definition at line 48 of file PeriodicQuenchMinimizer.h.

Referenced by GenerateMove, and Minimize.

double CPeriodicQuenchMinimizer::m_dSqrLogParDiff [protected]
 

Definition at line 40 of file PeriodicQuenchMinimizer.h.

Referenced by AcceptMove, and GenerateMove.

double CPeriodicQuenchMinimizer::m_dTemperature [protected]
 

Definition at line 42 of file PeriodicQuenchMinimizer.h.

Referenced by AcceptMove, CPeriodicQuenchMinimizer, GenerateMove, and Minimize.

int CPeriodicQuenchMinimizer::m_iNMCSteps [protected]
 

Definition at line 34 of file PeriodicQuenchMinimizer.h.

Referenced by CPeriodicQuenchMinimizer, and Minimize.

int CPeriodicQuenchMinimizer::m_iNQuenches [protected]
 

Definition at line 32 of file PeriodicQuenchMinimizer.h.

Referenced by CPeriodicQuenchMinimizer, and Minimize.

int CPeriodicQuenchMinimizer::m_iRNGSeed [protected]
 

Definition at line 46 of file PeriodicQuenchMinimizer.h.

Referenced by CPeriodicQuenchMinimizer.

double* CPeriodicQuenchMinimizer::m_pdCurrentParameters [protected]
 

Definition at line 28 of file PeriodicQuenchMinimizer.h.

Referenced by GenerateMove, Minimize, and WriteQuenchedParameters.

double* CPeriodicQuenchMinimizer::m_pdTrialParameters [protected]
 

Definition at line 30 of file PeriodicQuenchMinimizer.h.

Referenced by GenerateMove, and Minimize.

CParameterFilter* CPeriodicQuenchMinimizer::m_pFilter [protected]
 

Definition at line 24 of file PeriodicQuenchMinimizer.h.

Referenced by CPeriodicQuenchMinimizer, and GenerateMove.

CMatrixOperations* CPeriodicQuenchMinimizer::m_pMO [protected]
 

Definition at line 20 of file PeriodicQuenchMinimizer.h.

Referenced by CPeriodicQuenchMinimizer, Minimize, and ~CPeriodicQuenchMinimizer.

Minimizer* CPeriodicQuenchMinimizer::m_pQuencher [protected]
 

Definition at line 26 of file PeriodicQuenchMinimizer.h.

Referenced by CPeriodicQuenchMinimizer, Minimize, and ~CPeriodicQuenchMinimizer.

Rand* CPeriodicQuenchMinimizer::m_pRNG [protected]
 

Definition at line 22 of file PeriodicQuenchMinimizer.h.

Referenced by AcceptMove, CPeriodicQuenchMinimizer, GenerateMove, and ~CPeriodicQuenchMinimizer.


The documentation for this class was generated from the following files:
Generated on Mon Nov 3 10:04:42 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002