#include <ConfigurableAnnealing.h>
Public Member Functions | |
void | anneal () override |
ConfigurableAnnealing * | clone () const override |
ConfigurableAnnealing (const edm::ParameterSet &) | |
ConfigurableAnnealing (const ConfigurableAnnealing &) | |
double | currentTemp () const override |
double | cutoff () const override |
void | debug () const override |
double | initialTemp () const override |
bool | isAnnealed () const override |
double | phi (double chi2) const override |
void | resetAnnealing () override |
double | weight (double chi2) const override |
~ConfigurableAnnealing () override | |
Public Member Functions inherited from AnnealingSchedule | |
virtual | ~AnnealingSchedule () |
Private Attributes | |
AnnealingSchedule * | theImpl |
Definition at line 8 of file ConfigurableAnnealing.h.
ConfigurableAnnealing::ConfigurableAnnealing | ( | const edm::ParameterSet & | m | ) |
An annealing schedule that is completely configurable via edm::ParameterSet
Definition at line 9 of file ConfigurableAnnealing.cc.
References cmsRelvalreport::exit, edm::ParameterSet::getParameter(), and theImpl.
Referenced by clone().
|
override |
ConfigurableAnnealing::ConfigurableAnnealing | ( | const ConfigurableAnnealing & | o | ) |
Definition at line 37 of file ConfigurableAnnealing.cc.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 56 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::anneal(), and theImpl.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 41 of file ConfigurableAnnealing.cc.
References ConfigurableAnnealing().
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 81 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::currentTemp(), and theImpl.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 76 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::cutoff(), and theImpl.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 51 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::debug(), and theImpl.
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 86 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::initialTemp(), and theImpl.
|
overridevirtual |
Returns phi(chi2) / ( phi(cutoff^2) + sum_i { phi(chi2s[i]) } ) is it annealed yet?
Implements AnnealingSchedule.
Definition at line 91 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::isAnnealed(), and theImpl.
|
inlineoverridevirtual |
phi ( chi2 ) = e^( -.5*chi2 / T )
Implements AnnealingSchedule.
Definition at line 71 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::phi(), and theImpl.
Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().
|
overridevirtual |
Implements AnnealingSchedule.
Definition at line 66 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::resetAnnealing(), and theImpl.
|
overridevirtual |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implements AnnealingSchedule.
Definition at line 61 of file ConfigurableAnnealing.cc.
References theImpl, and AnnealingSchedule::weight().
|
private |
Definition at line 31 of file ConfigurableAnnealing.h.
Referenced by anneal(), ConfigurableAnnealing(), currentTemp(), cutoff(), debug(), initialTemp(), isAnnealed(), phi(), resetAnnealing(), weight(), and ~ConfigurableAnnealing().