#include <GeometricAnnealing.h>
Classes | |
class | A |
Public Member Functions | |
void | anneal () |
GeometricAnnealing * | clone () const |
double | currentTemp () const |
double | cutoff () const |
void | debug () const |
GeometricAnnealing (const double cutoff=3.0, const double T=256.0, const double annealing_ratio=0.25) | |
double | initialTemp () const |
bool | isAnnealed () const |
double | phi (double chi2) const |
void | resetAnnealing () |
double | weight (double chi2) const |
Public Member Functions inherited from AnnealingSchedule | |
virtual | ~AnnealingSchedule () |
Private Attributes | |
double | theChi2cut |
double | theRatio |
double | theT |
double | theT0 |
Definition at line 7 of file GeometricAnnealing.h.
GeometricAnnealing::GeometricAnnealing | ( | const double | cutoff = 3.0 , |
const double | T = 256.0 , |
||
const double | annealing_ratio = 0.25 |
||
) |
|
virtual |
Implements AnnealingSchedule.
Definition at line 11 of file GeometricAnnealing.cc.
References theRatio, and theT.
|
inlinevirtual |
Implements AnnealingSchedule.
Definition at line 45 of file GeometricAnnealing.h.
References GeometricAnnealing().
|
virtual |
|
virtual |
Implements AnnealingSchedule.
Definition at line 38 of file GeometricAnnealing.cc.
References mathSSE::sqrt(), and theChi2cut.
|
virtual |
Implements AnnealingSchedule.
Definition at line 59 of file GeometricAnnealing.cc.
References gather_cfg::cout, theChi2cut, theRatio, and theT0.
|
virtual |
Implements AnnealingSchedule.
Definition at line 49 of file GeometricAnnealing.cc.
References theT0.
|
virtual |
is it annealed yet?
Implements AnnealingSchedule.
Definition at line 54 of file GeometricAnnealing.cc.
References theT.
|
virtual |
phi ( chi2 ) = e^( -.5 * chi2 / T )
Implements AnnealingSchedule.
Definition at line 33 of file GeometricAnnealing.cc.
References create_public_lumi_plots::exp, and theT.
Referenced by weight().
|
virtual |
|
virtual |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implements AnnealingSchedule.
Definition at line 16 of file GeometricAnnealing.cc.
References phi(), and theChi2cut.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), and cuy.graphElement::__init__().
|
private |
Definition at line 53 of file GeometricAnnealing.h.
|
private |
Definition at line 54 of file GeometricAnnealing.h.
|
private |
Definition at line 52 of file GeometricAnnealing.h.
Referenced by anneal(), currentTemp(), isAnnealed(), phi(), and resetAnnealing().
|
private |
Definition at line 48 of file GeometricAnnealing.h.
Referenced by debug(), initialTemp(), and resetAnnealing().