Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Fitter.sip

Go to the documentation of this file.
00001 /* -*- mode:c++ -*- */
00002 
00016 class Fitter
00017 {
00018 %TypeHeaderCode
00019 #include "minimizers/Fitter.h"
00020 %End
00021 
00022 protected:
00023 
00024   Fitter ( const Fitter & );
00025   
00026 public:
00027 
00028   virtual ~Fitter();
00029 
00032   virtual Fitter * clone () const = 0;
00033 
00036   const std::string & name () const;
00037 
00041   virtual bool needsDerivatives () const = 0;
00042 
00043 
00047   virtual void setFixedFlags ( const std::vector < int > & );
00048 
00052   virtual const std::vector < int > & getFixedFlags () const;
00053 
00057   virtual void setLimits ( unsigned int, double, double );
00058 
00066   void setLimits ( const std::string & /* name */,
00067                    double /* lower */, 
00068                    double /* upper */ );
00069 
00070 
00074   virtual bool calcBestFit () = 0;
00075 
00076 //   /** Calculates the covariance matrix. Returns EXIT_SUCCESS if a
00077 //       minima of the objective functions is found, returns EXIT_FAILURE
00078 //       in case algorithm converges on other stationary points (i.e. on
00079 //       saddle points). 
00080 //   */
00081 //    virtual 
00082 //   int calcCovariance ( std::vector < std::vector < double > > & ) = 0;
00083 
00084 
00085 };

Generated on Wed Sep 7 14:51:29 2005 for SiHippo by  doxygen 1.4.3