openModeller  Version 1.4.0
regression.hh
Go to the documentation of this file.
00001 
00036 #ifndef _REGRESSION_HH_
00037 #define _REGRESSION_HH_
00038 
00039 #include <openmodeller/om.hh>
00040 
00041 class Regression
00042 {
00043 public:
00044   Regression();
00045 
00046   void calculateParameters(const OccurrencesPtr& occs);
00047 
00048   const Sample getA() const { return _paramA; }
00049   const Sample getB() const { return _paramB; }
00050   const Sample getC() const { return _paramC; }
00051 
00052 private:
00053   int _dimensions;
00054   int _resamples;
00055   Sample _paramA;
00056   Sample _paramB;
00057   Sample _paramC;
00058 };
00059 
00060 /****************************************************************/
00061 
00062 #endif
00063