#include <AnnealingSchedule.h>
Public Member Functions | |
virtual void | anneal ()=0 |
virtual AnnealingSchedule * | clone () const =0 |
virtual double | currentTemp () const =0 |
virtual double | cutoff () const =0 |
virtual void | debug () const =0 |
virtual double | initialTemp () const =0 |
virtual bool | isAnnealed () const =0 |
virtual double | phi (double chi2) const =0 |
virtual void | resetAnnealing ()=0 |
virtual double | weight (double chi2) const =0 |
virtual | ~AnnealingSchedule () |
Definition at line 6 of file AnnealingSchedule.h.
virtual AnnealingSchedule::~AnnealingSchedule | ( | ) | [inline, virtual] |
Abstract base class that is implemented by the different annealing schedules.
Definition at line 12 of file AnnealingSchedule.h.
{};
virtual void AnnealingSchedule::anneal | ( | ) | [pure virtual] |
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
Referenced by ConfigurableAnnealing::anneal(), and MultiVertexFitter::fit().
virtual AnnealingSchedule* AnnealingSchedule::clone | ( | ) | const [pure virtual] |
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
virtual double AnnealingSchedule::currentTemp | ( | ) | const [pure virtual] |
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
Referenced by ConfigurableAnnealing::currentTemp(), and AdaptiveVertexFitter::weightTracks().
virtual double AnnealingSchedule::cutoff | ( | ) | const [pure virtual] |
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
Referenced by ConfigurableAnnealing::cutoff(), and MultiVertexFitter::updateWeights().
virtual void AnnealingSchedule::debug | ( | ) | const [pure virtual] |
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
Referenced by ConfigurableAnnealing::debug().
virtual double AnnealingSchedule::initialTemp | ( | ) | const [pure virtual] |
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
Referenced by ConfigurableAnnealing::initialTemp().
virtual bool AnnealingSchedule::isAnnealed | ( | ) | const [pure virtual] |
Returns phi(chi2) / ( phi(cutoff^2) + sum_i { phi(chi2s[i]) } ) is it annealed yet?
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
Referenced by MultiVertexFitter::fit(), and ConfigurableAnnealing::isAnnealed().
virtual double AnnealingSchedule::phi | ( | double | chi2 | ) | const [pure virtual] |
phi ( chi2 ) = e^( -.5*chi2 / T )
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
Referenced by ConfigurableAnnealing::phi(), and MultiVertexFitter::updateWeights().
virtual void AnnealingSchedule::resetAnnealing | ( | ) | [pure virtual] |
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
Referenced by ConfigurableAnnealing::resetAnnealing(), and AdaptiveVertexFitter::weightTracks().
virtual double AnnealingSchedule::weight | ( | double | chi2 | ) | const [pure virtual] |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implemented in ConfigurableAnnealing, DeterministicAnnealing, and GeometricAnnealing.
Referenced by AdaptiveVertexFitter::getWeight(), ConfigurableAnnealing::weight(), and AdaptiveVertexFitter::weightTracks().