aboutsummaryrefslogtreecommitdiffstats
path: root/utilities/opt_types.hpp
blob: 46846cdb3a6f1b86291b5268b4133e2c0066506e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef OPT_TYPES_HPP
#define OPT_TYPES_HPP
#include <core/optimizer.hpp>
#include <core/fitter.hpp>
#include <core/default_data_set.hpp>
#include <methods/powell/powell_method.hpp>
#include <statistics/chisq.hpp>
#include <statistics/leastsq.hpp>
#include <vector>

namespace opt_utilities
{
  template <typename Ty,typename Tx,typename Tp,typename Ts,typename Tstr>
  class opt_types
  {
  public:
    typedef fitter<Ty,Tx,Tp,Ts,Tstr> fitter;
    typedef chisq<Ty,Tx,Tp,Ts,Tstr> chisq;
    typedef leastsq<Ty,Tx,Tp,Ts,Tstr> leastsq;
    typedef powell_method<Ty,Tp> powell_method;
    typedef model<Ty,Tx,Tp,Tstr> model;
    typedef default_data_set<Ty,Ty> data_set;
    typedef optimizer<Ty,Tp> optimizer;
    typedef func_obj<Ty,Tp> func_obj;
    typedef opt_method<Ty,Tp> opt_method;
  };

  typedef opt_types<double,double,std::vector<double>,double,std::string> dopt;
}




#endif
//EOF