#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.
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.
|
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.
Referenced by DeterministicAnnealing().
|
virtual |
Implements AnnealingSchedule.
Definition at line 79 of file DeterministicAnnealing.cc.
References gather_cfg::cout, mps_fire::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 JetChargeProducer_cfi::exp, theIndex, and theTemperatures.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), 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.
|
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().