28#ifndef ROOT_TMVA_SimulatedAnnealing
29#define ROOT_TMVA_SimulatedAnnealing
94 void GenerateNeighbour( std::vector<Double_t>& parameters, std::vector<Double_t>& oldParameters,
Double_t currentTemperature );
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t target
Interface for a fitter 'target'.
ostringstream derivative to redirect and format output
Base implementation of simulated annealing fitting procedure.
TRandom * fRandom
random generator
void GenerateNeighbour(std::vector< Double_t > ¶meters, std::vector< Double_t > &oldParameters, Double_t currentTemperature)
generate adjacent parameters
Double_t Minimize(std::vector< Double_t > ¶meters)
minimisation algorithm
Double_t fInitialTemperature
initial temperature
virtual ~SimulatedAnnealing()
destructor
Double_t GenerateMaxTemperature(std::vector< Double_t > ¶meters)
maximum temperature
Double_t fTemperatureScale
how fast temperature change
Bool_t fUseDefaultTemperature
if TRUE, SA calculates its own InitialTemperature (MinTemperautre)
Bool_t fUseDefaultScale
if TRUE, SA calculates its own TemperatureScale
void SetInitTemp(Double_t it)
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
void SetDefaultScale()
setting of default scale
void GenerateNewTemperature(Double_t ¤tTemperature, Int_t Iter)
generate new temperature
void SetAccuracy(Double_t eps)
void SetMinTemp(Double_t min)
void FillWithRandomValues(std::vector< Double_t > ¶meters)
random starting parameters
const std::vector< TMVA::Interval * > & fRanges
parameter ranges
Double_t fTemperatureAdaptiveStep
used to calculate InitialTemperature if fUseDefaultTemperature
void SetMaxCalls(Int_t mc)
void ReWriteParameters(std::vector< Double_t > &from, std::vector< Double_t > &to)
copy parameters
enum TMVA::SimulatedAnnealing::EKernelTemperature fKernelTemperature
IFitterTarget & fFitterTarget
the fitter target
Double_t fAdaptiveSpeed
how fast temperature change in adaptive (in adaptive two variables describe the change of temperature...
void SetTemperatureScale(Double_t scale)
Int_t fMaxCalls
maximum number of minimisation calls
void SetAdaptiveSpeed(Double_t speed)
void SetIPythonInteractive(bool *ExitFromTraining, UInt_t *fIPyCurrentIter_)
MsgLogger * fLogger
message logger
Bool_t ShouldGoIn(Double_t currentFit, Double_t localFit, Double_t currentTemperature)
result checker
Double_t fMinTemperature
minimum temperature
This is the base class for the ROOT Random number generators.
create variable transformations