7 const double cutoff,
const double T,
const double ratio ) :
8 theT0(T), theT(T),
theChi2cut(cutoff*cutoff), theRatio( ratio )
18 double mphi =
phi ( chi2 );
20 if ( std::isinf(newtmp) )
35 return exp ( -.5 * chi2 /
theT );
56 return (
theT < 1.02 );
double weight(double chi2) const
GeometricAnnealing(const double cutoff=3.0, const double T=256.0, const double annealing_ratio=0.25)
double phi(double chi2) const
double initialTemp() const
theChi2cut(cutoff *cutoff)
double currentTemp() const