#include <ConfigurableAnnealing.h>
Public Member Functions | |
void | anneal () |
ConfigurableAnnealing * | clone () const |
ConfigurableAnnealing (const edm::ParameterSet &) | |
ConfigurableAnnealing (const ConfigurableAnnealing &) | |
double | currentTemp () const |
double | cutoff () const |
void | debug () const |
double | initialTemp () const |
bool | isAnnealed () const |
double | phi (double chi2) const |
void | resetAnnealing () |
double | weight (double chi2) const |
~ConfigurableAnnealing () | |
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().
ConfigurableAnnealing::~ConfigurableAnnealing | ( | ) |
ConfigurableAnnealing::ConfigurableAnnealing | ( | const ConfigurableAnnealing & | o | ) |
Definition at line 37 of file ConfigurableAnnealing.cc.
|
virtual |
Implements AnnealingSchedule.
Definition at line 56 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::anneal(), and theImpl.
|
virtual |
Implements AnnealingSchedule.
Definition at line 41 of file ConfigurableAnnealing.cc.
References ConfigurableAnnealing().
|
virtual |
Implements AnnealingSchedule.
Definition at line 81 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::currentTemp(), and theImpl.
|
virtual |
Implements AnnealingSchedule.
Definition at line 76 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::cutoff(), and theImpl.
|
virtual |
Implements AnnealingSchedule.
Definition at line 51 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::debug(), and theImpl.
|
virtual |
Implements AnnealingSchedule.
Definition at line 86 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::initialTemp(), and theImpl.
|
virtual |
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.
|
inlinevirtual |
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__().
|
virtual |
Implements AnnealingSchedule.
Definition at line 66 of file ConfigurableAnnealing.cc.
References AnnealingSchedule::resetAnnealing(), and theImpl.
|
virtual |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implements AnnealingSchedule.
Definition at line 61 of file ConfigurableAnnealing.cc.
References theImpl, and AnnealingSchedule::weight().
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), and cuy.graphElement::__init__().
|
private |
Definition at line 31 of file ConfigurableAnnealing.h.
Referenced by anneal(), ConfigurableAnnealing(), currentTemp(), cutoff(), debug(), initialTemp(), isAnnealed(), phi(), resetAnnealing(), weight(), and ~ConfigurableAnnealing().