#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 |
Definition at line 7 of file DeterministicAnnealing.h.
DeterministicAnnealing::DeterministicAnnealing | ( | float | cutoff = 3.0 | ) |
DeterministicAnnealing::DeterministicAnnealing | ( | const std::vector< float > & | sched, |
float | cutoff = 3.0 |
||
) |
Definition at line 24 of file DeterministicAnnealing.cc.
|
virtual |
Implements AnnealingSchedule.
Definition at line 30 of file DeterministicAnnealing.cc.
References theIndex, and theIsAnnealed.
|
inlinevirtual |
Implements AnnealingSchedule.
Definition at line 51 of file DeterministicAnnealing.h.
References DeterministicAnnealing().
|
virtual |
Implements AnnealingSchedule.
Definition at line 73 of file DeterministicAnnealing.cc.
References theIndex.
|
virtual |
Returns phi(chi2) / ( phi(cutoff^2) + sum_i { phi(chi2s[i]) } )
Implements AnnealingSchedule.
Definition at line 68 of file DeterministicAnnealing.cc.
References mathSSE::sqrt(), and theChi2cut.
|
virtual |
Implements AnnealingSchedule.
Definition at line 88 of file DeterministicAnnealing.cc.
References gather_cfg::cout, and i.
|
virtual |
Implements AnnealingSchedule.
Definition at line 78 of file DeterministicAnnealing.cc.
|
virtual |
is it annealed yet?
Implements AnnealingSchedule.
Definition at line 83 of file DeterministicAnnealing.cc.
References theIsAnnealed.
|
inlinevirtual |
phi ( chi2 ) = e^( -.5*chi2 / T )
Implements AnnealingSchedule.
Definition at line 63 of file DeterministicAnnealing.cc.
References funct::exp(), and theIndex.
Referenced by weight().
|
virtual |
Implements AnnealingSchedule.
Definition at line 57 of file DeterministicAnnealing.cc.
References theIndex, and theIsAnnealed.
|
virtual |
Returns phi(chi2) / ( phi(cutoff^2) + phi(chi2) ),
Implements AnnealingSchedule.
Definition at line 40 of file DeterministicAnnealing.cc.
References phi(), and theChi2cut.
|
private |
Definition at line 58 of file DeterministicAnnealing.h.
|
private |
Definition at line 54 of file DeterministicAnnealing.h.
Referenced by anneal(), currentTemp(), phi(), and resetAnnealing().
|
private |
Definition at line 59 of file DeterministicAnnealing.h.
Referenced by anneal(), isAnnealed(), and resetAnnealing().