DMP_BBO library
MetaParametersGMR.hpp
Go to the documentation of this file.
1 
24 #ifndef METAPARAMETERSGMR_H
25 #define METAPARAMETERSGMR_H
26 
28 
29 namespace DmpBbo {
30 
36 {
37  friend class FunctionApproximatorGMR;
38 
39 public:
40 
45  MetaParametersGMR(int expected_input_dim, int number_of_gaussians);
46 
47  MetaParametersGMR* clone(void) const;
48 
49  std::string toString(void) const;
50 
51 private:
53  int number_of_gaussians_;
54 
62 
64  friend class boost::serialization::access;
65 
71  template<class Archive>
72  void serialize(Archive & ar, const unsigned int version);
73 
74 };
75 
76 }
77 
78 #include <boost/serialization/export.hpp>
81 
82 
83 BOOST_CLASS_IMPLEMENTATION(DmpBbo::MetaParametersGMR,boost::serialization::object_serializable);
84 
85 #endif // #ifndef METAPARAMETERSGMR_H
86 
friend class boost::serialization::access
Give boost serialization access to private members.
BOOST_CLASS_EXPORT_KEY2(DmpBbo::TimeSystem,"TimeSystem")
Register this derived class.
MetaParametersGMR * clone(void) const
Return a pointer to a deep copy of the MetaParameters object.
BOOST_CLASS_IMPLEMENTATION(DmpBbo::MetaParametersGMR, boost::serialization::object_serializable)
Register this derived class.
GMR (Gaussian Mixture Regression) function approximator.
Meta-parameters for the GMR function approximator.
MetaParameters class header file.
Base class for all meta-parameters of function approximators.
std::string toString(void) const
Returns a string representation of the object.