Tomato
OxFitterAmoebaVnl.h
Go to the documentation of this file.
1 
7 #ifndef Tomato_OXFITTERAMOEBAVNL_H
8 #define Tomato_OXFITTERAMOEBAVNL_H
9 
10 #include "CmakeConfigForTomato.h"
11 #ifdef USE_VNL
12 
13 #include "OxFitter.h"
14 
15 class vnl_amoeba;
16 
17 namespace Ox {
18 
19  class ModelT1AdapterVnlCost;
20 
21  template<typename MeasureType>
22  class FitterAmoebaVnl : public Fitter<MeasureType> {
23 
24  public:
29  virtual int performFitting();
30 
31  // getters
32  ModelT1AdapterVnlCost *getModelAdaptedToVnl() const;
33 
37  virtual void disp();
38 
42  FitterAmoebaVnl();
43 
48  virtual Fitter<MeasureType> *newByCloning() { return new FitterAmoebaVnl<MeasureType>(*this); }
49 
53  virtual ~FitterAmoebaVnl();
54 
55  protected:
56 
57  virtual void configureMinimizer();
58 
59  private:
60 
61  vnl_amoeba *_VnlFitter; // not meant to be see outside
62  ModelT1AdapterVnlCost *_FunctionsAdaptedToVnl; // not meant to be see outside
63 
64  };
65 
66 } // namespace Ox
67 
68 #ifndef TOMATOLIB_COMPILED
69 #include "OxFitterAmoebaVnl.hxx"
70 #endif // TOMATOLIB_COMPILED
71 
72 #endif //USE_VNL
73 
74 #endif //Tomato_OXFITTERAMOEBAVNL_H
Definition: OxCalculator.h:19