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

CBasicQuenchMinimizer Class Reference

#include <BasicQuenchMinimizer.h>

Inheritance diagram for CBasicQuenchMinimizer:

Inheritance graph
[legend]
Collaboration diagram for CBasicQuenchMinimizer:

Collaboration graph
[legend]
List of all members.

Public Methods

 CBasicQuenchMinimizer (int nTrialSteps, int nCycles, double initialStepScale, int seed, CParameterFilter *pFilter)
virtual ~CBasicQuenchMinimizer ()
virtual void InitializeTemperature (Minimizable *minimizable)
virtual void GenerateMove ()
virtual bool AcceptMove (double Eold, double Enew)
virtual void Cool ()
virtual bool Terminate ()
virtual bool Equilibrated ()

Private Attributes

double m_dStepScale
double m_dInitialStepScale
int m_iNCycles
int m_iNTrialSteps

Constructor & Destructor Documentation

CBasicQuenchMinimizer::CBasicQuenchMinimizer int    nTrialSteps,
int    nCycles,
double    initialStepScale,
int    seed,
CParameterFilter   pFilter
 

Definition at line 11 of file BasicQuenchMinimizer.cpp.

References m_dInitialStepScale, m_iNCycles, and m_iNTrialSteps.

CBasicQuenchMinimizer::~CBasicQuenchMinimizer   [virtual]
 

Definition at line 19 of file BasicQuenchMinimizer.cpp.


Member Function Documentation

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

Implements CSimulatedAnnealingStrategy.

Definition at line 44 of file BasicQuenchMinimizer.cpp.

void CBasicQuenchMinimizer::Cool   [virtual]
 

Implements CSimulatedAnnealingStrategy.

Definition at line 56 of file BasicQuenchMinimizer.cpp.

References __min, CSimulatedAnnealingStrategy::m_dAcceptanceRatio, m_dInitialStepScale, m_dStepScale, CSimulatedAnnealingStrategy::m_dTemperature, CSimulatedAnnealingStrategy::m_pdCurrentParameters, and Minimizer::nParameters.

bool CBasicQuenchMinimizer::Equilibrated   [virtual]
 

Implements CSimulatedAnnealingStrategy.

Definition at line 105 of file BasicQuenchMinimizer.cpp.

References m_iNTrialSteps, and CSimulatedAnnealingStrategy::m_iTrialCount.

void CBasicQuenchMinimizer::GenerateMove   [virtual]
 

Implements CSimulatedAnnealingStrategy.

Definition at line 31 of file BasicQuenchMinimizer.cpp.

References CParameterFilter::BackwardTransformation, CParameterFilter::ForwardTransformation, m_dStepScale, CSimulatedAnnealingStrategy::m_pdCurrentParameters, CSimulatedAnnealingStrategy::m_pdTrialParameters, CSimulatedAnnealingStrategy::m_pFilter, CSimulatedAnnealingStrategy::m_pRNG, Minimizer::nParameters, and Rand::uniform.

void CBasicQuenchMinimizer::InitializeTemperature Minimizable   minimizable [virtual]
 

Implements CSimulatedAnnealingStrategy.

Definition at line 24 of file BasicQuenchMinimizer.cpp.

References m_dInitialStepScale, m_dStepScale, and CSimulatedAnnealingStrategy::m_dTemperature.

bool CBasicQuenchMinimizer::Terminate   [virtual]
 

Implements CSimulatedAnnealingStrategy.

Definition at line 95 of file BasicQuenchMinimizer.cpp.

References CSimulatedAnnealingStrategy::m_dTemperature, and m_iNCycles.


Member Data Documentation

double CBasicQuenchMinimizer::m_dInitialStepScale [private]
 

Definition at line 32 of file BasicQuenchMinimizer.h.

Referenced by CBasicQuenchMinimizer, Cool, and InitializeTemperature.

double CBasicQuenchMinimizer::m_dStepScale [private]
 

Definition at line 31 of file BasicQuenchMinimizer.h.

Referenced by Cool, GenerateMove, and InitializeTemperature.

int CBasicQuenchMinimizer::m_iNCycles [private]
 

Definition at line 33 of file BasicQuenchMinimizer.h.

Referenced by CBasicQuenchMinimizer, and Terminate.

int CBasicQuenchMinimizer::m_iNTrialSteps [private]
 

Definition at line 34 of file BasicQuenchMinimizer.h.

Referenced by CBasicQuenchMinimizer, and Equilibrated.


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