ROOT logo
// @(#)root/mathmore:$Id$
// Author: L. Moneta Wed Dec 20 17:16:32 2006

/**********************************************************************
 *                                                                    *
 * Copyright (c) 2006  LCG ROOT Math Team, CERN/PH-SFT                *
 *                                                                    *
 * This library is free software; you can redistribute it and/or      *
 * modify it under the terms of the GNU General Public License        *
 * as published by the Free Software Foundation; either version 2     *
 * of the License, or (at your option) any later version.             *
 *                                                                    *
 * This library is distributed in the hope that it will be useful,    *
 * but WITHOUT ANY WARRANTY; without even the implied warranty of     *
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   *
 * General Public License for more details.                           *
 *                                                                    *
 * You should have received a copy of the GNU General Public License  *
 * along with this library (see file COPYING); if not, write          *
 * to the Free Software Foundation, Inc., 59 Temple Place, Suite      *
 * 330, Boston, MA 02111-1307 USA, or contact the author.             *
 *                                                                    *
 **********************************************************************/

// Header file for class GSLSimAnMinimizer

#ifndef ROOT_Math_GSLSimAnMinimizer
#define ROOT_Math_GSLSimAnMinimizer



#ifndef ROOT_Math_BasicMinimizer
#include "Math/BasicMinimizer.h"
#endif


#ifndef ROOT_Math_IFunctionfwd
#include "Math/IFunctionfwd.h"
#endif

#ifndef ROOT_Math_IParamFunctionfwd
#include "Math/IParamFunctionfwd.h"
#endif



#ifndef ROOT_Math_GSLSimAnnealing
#include "Math/GSLSimAnnealing.h"
#endif




namespace ROOT { 

   namespace Math { 



//_____________________________________________________________________________________
/** 
   GSLSimAnMinimizer class for minimization using simulated annealing
   using the algorithm from 
   <A HREF="http://www.gnu.org/software/gsl/manual/html_node/Simulated-Annealing.html">
   GSL</A>.
   It implements the ROOT::Minimizer interface and 
   a plug-in (name "GSLSimAn") exists to instantiate this class via the plug-in manager

   @ingroup MultiMin
*/ 
class GSLSimAnMinimizer : public  ROOT::Math::BasicMinimizer {

public: 

   /** 
      Default constructor
   */ 
   GSLSimAnMinimizer (int type = 0); 

   /** 
      Destructor (no operations)
   */ 
   virtual ~GSLSimAnMinimizer ();  

private:
   // usually copying is non trivial, so we make this unaccessible

   /** 
      Copy constructor
   */ 
   GSLSimAnMinimizer(const GSLSimAnMinimizer &) : ROOT::Math::BasicMinimizer() {} 

   /** 
      Assignment operator
   */ 
   GSLSimAnMinimizer & operator = (const GSLSimAnMinimizer & rhs)  {
      if (this == &rhs) return *this;  // time saving self-test
      return *this;
   }

public: 


   /// method to perform the minimization
   virtual  bool Minimize(); 

   //number of calls 
   unsigned int NCalls() const; 


protected: 

private: 
   

   ROOT::Math::GSLSimAnnealing  fSolver; 
   

}; 

   } // end namespace Math

} // end namespace ROOT


#endif /* ROOT_Math_GSLSimAnMinimizer */
 GSLSimAnMinimizer.h:1
 GSLSimAnMinimizer.h:2
 GSLSimAnMinimizer.h:3
 GSLSimAnMinimizer.h:4
 GSLSimAnMinimizer.h:5
 GSLSimAnMinimizer.h:6
 GSLSimAnMinimizer.h:7
 GSLSimAnMinimizer.h:8
 GSLSimAnMinimizer.h:9
 GSLSimAnMinimizer.h:10
 GSLSimAnMinimizer.h:11
 GSLSimAnMinimizer.h:12
 GSLSimAnMinimizer.h:13
 GSLSimAnMinimizer.h:14
 GSLSimAnMinimizer.h:15
 GSLSimAnMinimizer.h:16
 GSLSimAnMinimizer.h:17
 GSLSimAnMinimizer.h:18
 GSLSimAnMinimizer.h:19
 GSLSimAnMinimizer.h:20
 GSLSimAnMinimizer.h:21
 GSLSimAnMinimizer.h:22
 GSLSimAnMinimizer.h:23
 GSLSimAnMinimizer.h:24
 GSLSimAnMinimizer.h:25
 GSLSimAnMinimizer.h:26
 GSLSimAnMinimizer.h:27
 GSLSimAnMinimizer.h:28
 GSLSimAnMinimizer.h:29
 GSLSimAnMinimizer.h:30
 GSLSimAnMinimizer.h:31
 GSLSimAnMinimizer.h:32
 GSLSimAnMinimizer.h:33
 GSLSimAnMinimizer.h:34
 GSLSimAnMinimizer.h:35
 GSLSimAnMinimizer.h:36
 GSLSimAnMinimizer.h:37
 GSLSimAnMinimizer.h:38
 GSLSimAnMinimizer.h:39
 GSLSimAnMinimizer.h:40
 GSLSimAnMinimizer.h:41
 GSLSimAnMinimizer.h:42
 GSLSimAnMinimizer.h:43
 GSLSimAnMinimizer.h:44
 GSLSimAnMinimizer.h:45
 GSLSimAnMinimizer.h:46
 GSLSimAnMinimizer.h:47
 GSLSimAnMinimizer.h:48
 GSLSimAnMinimizer.h:49
 GSLSimAnMinimizer.h:50
 GSLSimAnMinimizer.h:51
 GSLSimAnMinimizer.h:52
 GSLSimAnMinimizer.h:53
 GSLSimAnMinimizer.h:54
 GSLSimAnMinimizer.h:55
 GSLSimAnMinimizer.h:56
 GSLSimAnMinimizer.h:57
 GSLSimAnMinimizer.h:58
 GSLSimAnMinimizer.h:59
 GSLSimAnMinimizer.h:60
 GSLSimAnMinimizer.h:61
 GSLSimAnMinimizer.h:62
 GSLSimAnMinimizer.h:63
 GSLSimAnMinimizer.h:64
 GSLSimAnMinimizer.h:65
 GSLSimAnMinimizer.h:66
 GSLSimAnMinimizer.h:67
 GSLSimAnMinimizer.h:68
 GSLSimAnMinimizer.h:69
 GSLSimAnMinimizer.h:70
 GSLSimAnMinimizer.h:71
 GSLSimAnMinimizer.h:72
 GSLSimAnMinimizer.h:73
 GSLSimAnMinimizer.h:74
 GSLSimAnMinimizer.h:75
 GSLSimAnMinimizer.h:76
 GSLSimAnMinimizer.h:77
 GSLSimAnMinimizer.h:78
 GSLSimAnMinimizer.h:79
 GSLSimAnMinimizer.h:80
 GSLSimAnMinimizer.h:81
 GSLSimAnMinimizer.h:82
 GSLSimAnMinimizer.h:83
 GSLSimAnMinimizer.h:84
 GSLSimAnMinimizer.h:85
 GSLSimAnMinimizer.h:86
 GSLSimAnMinimizer.h:87
 GSLSimAnMinimizer.h:88
 GSLSimAnMinimizer.h:89
 GSLSimAnMinimizer.h:90
 GSLSimAnMinimizer.h:91
 GSLSimAnMinimizer.h:92
 GSLSimAnMinimizer.h:93
 GSLSimAnMinimizer.h:94
 GSLSimAnMinimizer.h:95
 GSLSimAnMinimizer.h:96
 GSLSimAnMinimizer.h:97
 GSLSimAnMinimizer.h:98
 GSLSimAnMinimizer.h:99
 GSLSimAnMinimizer.h:100
 GSLSimAnMinimizer.h:101
 GSLSimAnMinimizer.h:102
 GSLSimAnMinimizer.h:103
 GSLSimAnMinimizer.h:104
 GSLSimAnMinimizer.h:105
 GSLSimAnMinimizer.h:106
 GSLSimAnMinimizer.h:107
 GSLSimAnMinimizer.h:108
 GSLSimAnMinimizer.h:109
 GSLSimAnMinimizer.h:110
 GSLSimAnMinimizer.h:111
 GSLSimAnMinimizer.h:112
 GSLSimAnMinimizer.h:113
 GSLSimAnMinimizer.h:114
 GSLSimAnMinimizer.h:115
 GSLSimAnMinimizer.h:116
 GSLSimAnMinimizer.h:117
 GSLSimAnMinimizer.h:118
 GSLSimAnMinimizer.h:119
 GSLSimAnMinimizer.h:120
 GSLSimAnMinimizer.h:121
 GSLSimAnMinimizer.h:122
 GSLSimAnMinimizer.h:123
 GSLSimAnMinimizer.h:124
 GSLSimAnMinimizer.h:125
 GSLSimAnMinimizer.h:126