ROOT
6.07/01
Reference Guide
|
Definition at line 54 of file SimulatedAnnealing.h.
Public Member Functions | |
SimulatedAnnealing (IFitterTarget &target, const std::vector< TMVA::Interval * > &ranges) | |
virtual | ~SimulatedAnnealing () |
destructor More... | |
Double_t | Minimize (std::vector< Double_t > ¶meters) |
minimisation algorithm More... | |
void | SetMaxCalls (Int_t mc) |
void | SetInitTemp (Double_t it) |
void | SetMinTemp (Double_t min) |
void | SetAccuracy (Double_t eps) |
void | SetTemperatureScale (Double_t scale) |
void | SetAdaptiveSpeed (Double_t speed) |
void | SetOptions (Int_t maxCalls, Double_t initialTemperature, Double_t minTemperature, Double_t eps, TString kernelTemperatureS, Double_t temperatureScale, Double_t adaptiveSpeed, Double_t temperatureAdaptiveStep, Bool_t useDefaultScale, Bool_t useDefaultTemperature) |
option setter More... | |
Private Types | |
enum | EKernelTemperature { kSqrt = 0, kIncreasingAdaptive, kDecreasingAdaptive, kLog, kHomo, kSin, kGeo } |
Private Member Functions | |
void | FillWithRandomValues (std::vector< Double_t > ¶meters) |
random starting parameters More... | |
void | ReWriteParameters (std::vector< Double_t > &from, std::vector< Double_t > &to) |
copy parameters More... | |
void | GenerateNewTemperature (Double_t ¤tTemperature, Int_t Iter) |
generate new temperature More... | |
void | GenerateNeighbour (std::vector< Double_t > ¶meters, std::vector< Double_t > &oldParameters, Double_t currentTemperature) |
generate adjacent parameters More... | |
Bool_t | ShouldGoIn (Double_t currentFit, Double_t localFit, Double_t currentTemperature) |
result checker More... | |
void | SetDefaultScale () |
setting of default scale More... | |
Double_t | GenerateMaxTemperature (std::vector< Double_t > ¶meters) |
maximum temperature More... | |
std::vector< Double_t > | GenerateNeighbour (std::vector< Double_t > ¶meters, Double_t currentTemperature) |
generate adjacent parameters More... | |
MsgLogger & | Log () const |
#include <TMVA/SimulatedAnnealing.h>
|
private |
Enumerator | |
---|---|
kSqrt | |
kIncreasingAdaptive | |
kDecreasingAdaptive | |
kLog | |
kHomo | |
kSin | |
kGeo |
Definition at line 79 of file SimulatedAnnealing.h.
TMVA::SimulatedAnnealing::SimulatedAnnealing | ( | IFitterTarget & | target, |
const std::vector< TMVA::Interval * > & | ranges | ||
) |
|
virtual |
destructor
Definition at line 124 of file SimulatedAnnealing.cxx.
random starting parameters
Definition at line 131 of file SimulatedAnnealing.cxx.
|
private |
maximum temperature
Definition at line 250 of file SimulatedAnnealing.cxx.
|
private |
generate adjacent parameters
Definition at line 149 of file SimulatedAnnealing.cxx.
|
private |
generate adjacent parameters
Definition at line 168 of file SimulatedAnnealing.cxx.
|
private |
generate new temperature
Definition at line 189 of file SimulatedAnnealing.cxx.
|
inlineprivate |
Definition at line 117 of file SimulatedAnnealing.h.
Referenced by SetOptions().
minimisation algorithm
Definition at line 311 of file SimulatedAnnealing.cxx.
Referenced by TMVA::SimulatedAnnealingFitter::Run().
|
private |
copy parameters
Definition at line 141 of file SimulatedAnnealing.cxx.
Definition at line 68 of file SimulatedAnnealing.h.
Definition at line 70 of file SimulatedAnnealing.h.
|
private |
setting of default scale
Definition at line 229 of file SimulatedAnnealing.cxx.
Definition at line 66 of file SimulatedAnnealing.h.
Definition at line 65 of file SimulatedAnnealing.h.
Definition at line 67 of file SimulatedAnnealing.h.
void TMVA::SimulatedAnnealing::SetOptions | ( | Int_t | maxCalls, |
Double_t | initialTemperature, | ||
Double_t | minTemperature, | ||
Double_t | eps, | ||
TString | kernelTemperatureS, | ||
Double_t | temperatureScale, | ||
Double_t | adaptiveSpeed, | ||
Double_t | temperatureAdaptiveStep, | ||
Bool_t | useDefaultScale, | ||
Bool_t | useDefaultTemperature | ||
) |
option setter
Definition at line 73 of file SimulatedAnnealing.cxx.
Referenced by TMVA::SimulatedAnnealingFitter::Run().
Definition at line 69 of file SimulatedAnnealing.h.
|
private |
result checker
Definition at line 218 of file SimulatedAnnealing.cxx.
|
private |
Definition at line 108 of file SimulatedAnnealing.h.
Referenced by SetAdaptiveSpeed(), and SetOptions().
|
private |
Definition at line 106 of file SimulatedAnnealing.h.
Referenced by SetAccuracy(), and SetOptions().
|
private |
Definition at line 98 of file SimulatedAnnealing.h.
|
private |
Definition at line 104 of file SimulatedAnnealing.h.
Referenced by SetInitTemp(), and SetOptions().
|
private |
Referenced by SetOptions().
|
mutableprivate |
Definition at line 116 of file SimulatedAnnealing.h.
Referenced by Log().
|
private |
Definition at line 103 of file SimulatedAnnealing.h.
Referenced by SetMaxCalls(), and SetOptions().
|
private |
Definition at line 105 of file SimulatedAnnealing.h.
Referenced by SetMinTemp(), and SetOptions().
|
private |
Definition at line 119 of file SimulatedAnnealing.h.
|
private |
Definition at line 99 of file SimulatedAnnealing.h.
|
private |
Definition at line 100 of file SimulatedAnnealing.h.
|
private |
Definition at line 111 of file SimulatedAnnealing.h.
Referenced by SetOptions().
|
private |
Definition at line 107 of file SimulatedAnnealing.h.
Referenced by SetOptions(), and SetTemperatureScale().
|
private |
Definition at line 113 of file SimulatedAnnealing.h.
Referenced by SetOptions().
|
private |
Definition at line 114 of file SimulatedAnnealing.h.
Referenced by SetOptions().