24 #ifndef MODELPARAMETERS_H 25 #define MODELPARAMETERS_H 33 #include <boost/serialization/nvp.hpp> 63 output << model_parameters.
toString();
70 virtual std::string
toString(
void)
const = 0;
102 template<
class Archive>
103 void serialize(Archive & ar,
const unsigned int version)
115 #include <boost/serialization/assume_abstract.hpp> 119 #include <boost/serialization/export.hpp> 122 #endif // #ifndef MODELPARAMETERS_H Parameterizable class header file.
virtual int getExpectedInputDim(void) const =0
The expected dimensionality of the input data.
BOOST_SERIALIZATION_ASSUME_ABSTRACT(DmpBbo::ModelParameters)
Tell boost serialization that this class has pure virtual functions.
virtual UnifiedModel * toUnifiedModel(void) const =0
Convert these model parameters to unified model parameters.
Class for providing access to a model's parameters as a vector.
BOOST_CLASS_IMPLEMENTATION(DmpBbo::ModelParameters, boost::serialization::object_serializable)
Don't add version information to archives.
friend class boost::serialization::access
Give boost serialization access to private members.
The unified model, which can be used to represent the model of all other function approximators...
friend std::ostream & operator<<(std::ostream &output, const ModelParameters &model_parameters)
Print to output stream.
void serialize(Archive &ar, const unsigned int version)
Serialize class data members to boost archive.
Base class for all model parameters of function approximators.
virtual int getExpectedOutputDim(void) const
The expected dimensionality of the output data.
virtual std::string toString(void) const =0
Returns a string representation of the object.
virtual ModelParameters * clone(void) const =0
Return a pointer to a deep copy of the ModelParameters object.