Go to the documentation of this file.
11 using namespace Eigen;
16 if (what_step ==
"state")
18 else if (what_step ==
"exogenous")
19 exogenous_model().skip(what_step, status);
35 exogenous_model_ = std::move(exogenous_model);
53 return *exogenous_model_;
55 throw std::runtime_error(
"ERROR::STATEMODEL::GET_EXOGENOUS_MODEL\nERROR:\n\tNo valid ExogenousModel object present in LTIStateModel object. Use LTIStateModel::add_exogenous_model() to add one.");
62 throw std::runtime_error(
"ERROR::STATEMODEL::GETJACOBIAN\nERROR:\n\tMethod not implemented.");
68 throw std::runtime_error(
"ERROR::STATEMODEL::TRANSITIONPROBABILITY\nERROR:\n\tMethod not implemented.");
74 throw std::runtime_error(
"ERROR::STATEMODEL::GETNOISECOVARIANCEMATRIX\nERROR:\n\tMethod not implemented.");
80 throw std::runtime_error(
"ERROR::STATEMODEL::GETNOISESAMPLE\nERROR:\n\tMethod not implemented.");
ExogenousModel & exogenous_model()
Port of boost::any for C++11 compilers.
virtual bool setSamplingTime(const double &time)
virtual Eigen::MatrixXd getNoiseSample(const std::size_t num)
bool have_exogenous_model() noexcept
bool add_exogenous_model(std::unique_ptr< ExogenousModel > exogenous_model)
virtual Eigen::VectorXd getTransitionProbability(const Eigen::Ref< const Eigen::MatrixXd > &prev_states, const Eigen::Ref< const Eigen::MatrixXd > &cur_states)
virtual Eigen::MatrixXd getJacobian()
virtual Eigen::MatrixXd getNoiseCovarianceMatrix()
bool skip(const std::string &what_step, const bool status) override
bool is_skipping() override