24 #ifndef _TIME_SYSTEM_H_ 25 #define _TIME_SYSTEM_H_ 58 const Eigen::Ref<const Eigen::VectorXd>& x,
59 Eigen::Ref<Eigen::VectorXd> xd
62 void analyticalSolution(
const Eigen::VectorXd& ts, Eigen::MatrixXd& xs, Eigen::MatrixXd& xds)
const;
91 template<
class Archive>
92 void serialize(Archive & ar,
const unsigned int version);
97 #include <boost/serialization/export.hpp> 105 #endif // _Time_SYSTEM_H_ double tau(void) const
Accessor function for the time constant.
BOOST_CLASS_IMPLEMENTATION(DmpBbo::TimeSystem, boost::serialization::object_serializable)
Don't add version information to archives.
DynamicalSystem class header file.
BOOST_CLASS_EXPORT_KEY2(DmpBbo::TimeSystem,"TimeSystem")
Register this derived class.
Dynamical System modelling the evolution of a time: .
DynamicalSystem * clone(void) const
Return a pointer to a deep copy of the DynamicalSystem object.
bool count_down(void) const
Accessor function for count_down.
void differentialEquation(const Eigen::Ref< const Eigen::VectorXd > &x, Eigen::Ref< Eigen::VectorXd > xd) const
The differential equation which defines the system.
std::string name(void) const
Accessor function for the name of the dynamical system.
void analyticalSolution(const Eigen::VectorXd &ts, Eigen::MatrixXd &xs, Eigen::MatrixXd &xds) const
Return analytical solution of the system at certain times.
Interface for implementing dynamical systems.
friend class boost::serialization::access
Give boost serialization access to private members.
~TimeSystem(void)
Destructor.
std::string toString(void) const
Returns a string representation of the object.