24 #ifndef _EXPONENTIAL_SYSTEM_H_ 25 #define _EXPONENTIAL_SYSTEM_H_ 62 const Eigen::Ref<const Eigen::VectorXd>& x,
63 Eigen::Ref<Eigen::VectorXd> xd
66 void analyticalSolution(
const Eigen::VectorXd& ts, Eigen::MatrixXd& xs, Eigen::MatrixXd& xds)
const;
91 mutable Eigen::VectorXd attractor_state_prealloc_;
101 template<
class Archive>
102 void serialize(Archive & ar,
const unsigned int version);
108 #include <boost/serialization/export.hpp> 115 #endif // _Exponential_SYSTEM_H_ double tau(void) const
Accessor function for the time constant.
DynamicalSystem class header file.
BOOST_CLASS_EXPORT_KEY2(DmpBbo::TimeSystem,"TimeSystem")
Register this derived class.
friend class boost::serialization::access
Give boost serialization access to private members.
BOOST_CLASS_IMPLEMENTATION(DmpBbo::ExponentialSystem, boost::serialization::object_serializable)
Register this derived class.
~ExponentialSystem(void)
Destructor.
Dynamical System modelling the evolution of an exponential system: .
std::string name(void) const
Accessor function for the name of the dynamical system.
DynamicalSystem * clone(void) const
Return a pointer to a deep copy of the DynamicalSystem object.
Interface for implementing dynamical systems.
std::string toString(void) const
Returns a string representation of the object.
void differentialEquation(const Eigen::Ref< const Eigen::VectorXd > &x, Eigen::Ref< Eigen::VectorXd > xd) const
The differential equation which defines the system.
double alpha(void) const
Accessor function for decay constant.
void analyticalSolution(const Eigen::VectorXd &ts, Eigen::MatrixXd &xs, Eigen::MatrixXd &xds) const
Return analytical solution of the system at certain times.