#include <DeterministicAnnealing.h>
Classes | |
class | A |
Public Member Functions | |
void | anneal () |
DeterministicAnnealing * | clone () const |
double | currentTemp () const |
double | cutoff () const |
void | debug () const |
DeterministicAnnealing (float cutoff=3.0) | |
DeterministicAnnealing (const std::vector< float > &sched, float cutoff=3.0) | |
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 |
unsigned int | theIndex |
bool | theIsAnnealed |
std::vector< float > | theTemperatures |
Definition at line 7 of file DeterministicAnnealing.h.
DeterministicAnnealing::DeterministicAnnealing | ( | float | cutoff = 3.0 | ) |
Definition at line 10 of file DeterministicAnnealing.cc.
Referenced by clone().
DeterministicAnnealing::DeterministicAnnealing | ( | const std::vector< float > & | sched, |
float | cutoff = 3.0 |
||
) |
Definition at line 16 of file DeterministicAnnealing.cc.
|
virtual |
Implements AnnealingSchedule.
Definition at line 21 of file DeterministicAnnealing.cc.
References theIndex, theIsAnnealed, and theTemperatures.
|
inlinevirtual |
Implements AnnealingSchedule.
Definition at line 51 of file DeterministicAnnealing.h.
References DeterministicAnnealing().
|
virtual |
Implements AnnealingSchedule.
Definition at line 64 of file DeterministicAnnealing.cc.
References theIndex, and theTemperatures.
|
virtual |
Returns phi(chi2) / ( phi(cutoff^2) + sum_i { phi(chi2s[i]) } )
Implements AnnealingSchedule.
Definition at line 59 of file DeterministicAnnealing.cc.
References mathSSE::sqrt(), and theChi2cut.
|
virtual |
Implements AnnealingSchedule.
Definition at line 79 of file DeterministicAnnealing.cc.
References gather_cfg::cout, i, and theTemperatures.
|
virtual |
Implements AnnealingSchedule.
Definition at line 69 of file DeterministicAnnealing.cc.
References theTemperatures.
|
virtual |
is it annealed yet?
Implements AnnealingSchedule.
Definition at line 74 of file DeterministicAnnealing.cc.
References theIsAnnealed.
|
inlinevirtual |
phi ( chi2 ) = e^( -.5*chi2 / T )
Implements AnnealingSchedule.
Definition at line 54 of file DeterministicAnnealing.cc.
References create_public_lumi_plots::exp, theIndex, and theTemperatures.
Referenced by Particle.Particle::__str__(), and weight().
|
virtual |
Implements AnnealingSchedule.
Definition at line 48 of file DeterministicAnnealing.cc.
References theIndex, and theIsAnnealed.
|
virtual |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implements AnnealingSchedule.
Definition at line 31 of file DeterministicAnnealing.cc.
References edm::isNotFinite(), phi(), and theChi2cut.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), and cuy.graphElement::__init__().
|
private |
Definition at line 59 of file DeterministicAnnealing.h.
|
private |
Definition at line 58 of file DeterministicAnnealing.h.
Referenced by anneal(), currentTemp(), phi(), and resetAnnealing().
|
private |
Definition at line 60 of file DeterministicAnnealing.h.
Referenced by anneal(), isAnnealed(), and resetAnnealing().
|
private |
Definition at line 54 of file DeterministicAnnealing.h.
Referenced by anneal(), currentTemp(), debug(), initialTemp(), and phi().