Public Member Functions | Private Attributes | List of all members
ergodic_exploration::RungeKutta45 Class Reference

#include <integrator.hpp>

Public Member Functions

 RungeKutta45 (double hmax, double hmin, double epsilon, unsigned int max_iter)
 
template<class ModelT >
bool solve (mat &rhot, const CoStateFunc &func, const ModelT &model, const vec &rhoT, const mat &xt, const mat &ut, const mat &edx, const mat &bdx, double dt, double horizon) const
 
template<class ModelT >
bool solve (mat &xt, const ModelT &model, const vec &x0, const mat &ut, double dt, double horizon) const
 
double step (vec &rho_new, const CoStateFunc &func, const vec &rho, const vec &gdx, const vec &dbar, const mat &fdx, double h) const
 
template<class ModelT >
double step (vec &x_new, const ModelT &model, const vec &x, const vec &u, double h) const
 

Private Attributes

double epsilon_
 
double hmax_
 
double hmin_
 
unsigned int max_iter_
 

Detailed Description

Definition at line 196 of file integrator.hpp.

Constructor & Destructor Documentation

◆ RungeKutta45()

ergodic_exploration::RungeKutta45::RungeKutta45 ( double  hmax,
double  hmin,
double  epsilon,
unsigned int  max_iter 
)

Definition at line 222 of file integrator.hpp.

Member Function Documentation

◆ solve() [1/2]

template<class ModelT >
bool ergodic_exploration::RungeKutta45::solve ( mat &  rhot,
const CoStateFunc func,
const ModelT &  model,
const vec &  rhoT,
const mat &  xt,
const mat &  ut,
const mat &  edx,
const mat &  bdx,
double  dt,
double  horizon 
) const

Definition at line 358 of file integrator.hpp.

◆ solve() [2/2]

template<class ModelT >
bool ergodic_exploration::RungeKutta45::solve ( mat &  xt,
const ModelT &  model,
const vec &  x0,
const mat &  ut,
double  dt,
double  horizon 
) const

Definition at line 228 of file integrator.hpp.

◆ step() [1/2]

double ergodic_exploration::RungeKutta45::step ( vec &  rho_new,
const CoStateFunc func,
const vec &  rho,
const vec &  gdx,
const vec &  dbar,
const mat &  fdx,
double  h 
) const

Definition at line 455 of file integrator.hpp.

◆ step() [2/2]

template<class ModelT >
double ergodic_exploration::RungeKutta45::step ( vec &  x_new,
const ModelT &  model,
const vec &  x,
const vec &  u,
double  h 
) const

Definition at line 324 of file integrator.hpp.

Member Data Documentation

◆ epsilon_

double ergodic_exploration::RungeKutta45::epsilon_
private

Definition at line 218 of file integrator.hpp.

◆ hmax_

double ergodic_exploration::RungeKutta45::hmax_
private

Definition at line 217 of file integrator.hpp.

◆ hmin_

double ergodic_exploration::RungeKutta45::hmin_
private

Definition at line 217 of file integrator.hpp.

◆ max_iter_

unsigned int ergodic_exploration::RungeKutta45::max_iter_
private

Definition at line 219 of file integrator.hpp.


The documentation for this class was generated from the following file:


ergodic_exploration
Author(s): bostoncleek
autogenerated on Wed Mar 2 2022 00:17:13