#include <DeterministicAnnealing.h>
Classes | |
class | A |
Public Member Functions | |
void | anneal () override |
DeterministicAnnealing * | clone () const override |
double | currentTemp () const override |
double | cutoff () const override |
void | debug () const override |
DeterministicAnnealing (float cutoff=3.0) | |
DeterministicAnnealing (const std::vector< float > &sched, float cutoff=3.0) | |
double | initialTemp () const override |
bool | isAnnealed () const override |
double | phi (double chi2) const override |
void | resetAnnealing () override |
double | weight (double chi2) const override |
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.
References cutoff(), theChi2cut, theIndex, and theIsAnnealed.
Referenced by clone().
DeterministicAnnealing::DeterministicAnnealing | ( | const std::vector< float > & | sched, |
float | cutoff = 3.0 |
||
) |
Definition at line 16 of file DeterministicAnnealing.cc.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 21 of file DeterministicAnnealing.cc.
References theIndex, theIsAnnealed, and theTemperatures.
|
inlineoverridevirtual |
Implements AnnealingSchedule.
Definition at line 51 of file DeterministicAnnealing.h.
References DeterministicAnnealing().
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 64 of file DeterministicAnnealing.cc.
References theIndex, and theTemperatures.
|
overridevirtual |
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.
Referenced by DeterministicAnnealing().
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 79 of file DeterministicAnnealing.cc.
References gather_cfg::cout, mps_fire::i, and theTemperatures.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 69 of file DeterministicAnnealing.cc.
References theTemperatures.
|
overridevirtual |
is it annealed yet?
Implements AnnealingSchedule.
Definition at line 74 of file DeterministicAnnealing.cc.
References theIsAnnealed.
|
inlineoverridevirtual |
phi ( chi2 ) = e^( -.5*chi2 / T )
Implements AnnealingSchedule.
Definition at line 54 of file DeterministicAnnealing.cc.
References JetChargeProducer_cfi::exp, theIndex, and theTemperatures.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), and weight().
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 48 of file DeterministicAnnealing.cc.
References theIndex, and theIsAnnealed.
|
overridevirtual |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implements AnnealingSchedule.
Definition at line 31 of file DeterministicAnnealing.cc.
References edm::isNotFinite(), phi(), and theChi2cut.
|
private |
Definition at line 59 of file DeterministicAnnealing.h.
Referenced by cutoff(), DeterministicAnnealing(), and weight().
|
private |
Definition at line 58 of file DeterministicAnnealing.h.
Referenced by anneal(), currentTemp(), DeterministicAnnealing(), phi(), and resetAnnealing().
|
private |
Definition at line 60 of file DeterministicAnnealing.h.
Referenced by anneal(), DeterministicAnnealing(), isAnnealed(), and resetAnnealing().
|
private |
Definition at line 54 of file DeterministicAnnealing.h.
Referenced by anneal(), currentTemp(), debug(), initialTemp(), and phi().