ROOT » MATH » MATHMORE » ROOT::Math::GSLSimAnnealing

class ROOT::Math::GSLSimAnnealing


   GSLSimAnFunc class description.
   Interface class for the  objetive function to be used in simulated annealing
   If user wants to re-implement some of the methods (like the one defining the metric) which are used by the
   the simulated annealing algorithm must build a user derived class.
   NOTE: Derived classes must re-implement the assignment and copy constructor to call them of the parent class

   @ingroup MultiMin

Function Members (Methods)

public:
~GSLSimAnnealing()
ROOT::Math::GSLSimAnnealingGSLSimAnnealing()
ROOT::Math::GSLSimAnParams&Params()
const ROOT::Math::GSLSimAnParams&Params() const
intSolve(ROOT::Math::GSLSimAnFunc& func, bool debug = false)
intSolve(const ROOT::Math::IMultiGenFunction& func, const double* x0, const double* scale, double* xmin, bool debug = false)

Data Members

private:
ROOT::Math::GSLSimAnParamsfParamsparameters for GSLSimAnnealig

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

GSLSimAnnealing()
      Default constructor

~GSLSimAnnealing()
      Destructor (no operations)

{}
GSLSimAnnealing(const ROOT::Math::GSLSimAnnealing& )
 usually copying is non trivial, so we make this unaccessible

      Copy constructor

{}
int Solve(const ROOT::Math::IMultiGenFunction& func, const double* x0, const double* scale, double* xmin, bool debug = false)
      solve the simulated annealing given a multi-dim function, the initial vector parameters
      and a vector containing the scaling factors for the parameters

int Solve(ROOT::Math::GSLSimAnFunc& func, bool debug = false)
      solve the simulated annealing given a GSLSimAnFunc object
      The object will contain the initial state at the beginning and the final minimum state at the end