ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::mad::AOdeSolver< T > Class Template Referenceabstract

#include <aodesolver.h>

Inheritance diagram for adore::mad::AOdeSolver< T >:
Inheritance graph
Collaboration diagram for adore::mad::AOdeSolver< T >:
Collaboration graph

Public Member Functions

 AOdeSolver ()
 
virtual ~AOdeSolver ()
 
virtual adoreMatrix< T > solve (AOdeModel< T > *model, const adoreMatrix< double, 1, 0 > &time, const adoreMatrix< double, 0, 1 > &x0)=0
 
virtual adoreMatrix< T > solve_with_output (AOdeModelWithOutput< T > *model, const adoreMatrix< double, 1, 0 > &time, const adoreMatrix< double, 0, 1 > &x0, adoreMatrix< double > &Y_out)=0
 

Detailed Description

template<typename T>
class adore::mad::AOdeSolver< T >

Interface for ode solvers

Constructor & Destructor Documentation

◆ AOdeSolver()

template<typename T >
adore::mad::AOdeSolver< T >::AOdeSolver ( )
inline

◆ ~AOdeSolver()

template<typename T >
virtual adore::mad::AOdeSolver< T >::~AOdeSolver ( )
inlinevirtual

Member Function Documentation

◆ solve()

template<typename T >
virtual adoreMatrix<T> adore::mad::AOdeSolver< T >::solve ( AOdeModel< T > *  model,
const adoreMatrix< double, 1, 0 > &  time,
const adoreMatrix< double, 0, 1 > &  x0 
)
pure virtual

solve ode

Parameters
modelthe differential equation
timethe time steps over which to integrate
x0initial state
Returns
a matrix with model states at requested points of time, dimension #x0 x #time

Implemented in adore::mad::OdeRK4< T >.

◆ solve_with_output()

template<typename T >
virtual adoreMatrix<T> adore::mad::AOdeSolver< T >::solve_with_output ( AOdeModelWithOutput< T > *  model,
const adoreMatrix< double, 1, 0 > &  time,
const adoreMatrix< double, 0, 1 > &  x0,
adoreMatrix< double > &  Y_out 
)
pure virtual

solve ode and provide model output

Parameters
modelthe differential equation and output function
timethe time steps over which to integrate
x0initial state
Returns
a matrix with model states at requested points of time, dimension #x0 x #time
Parameters
Y_outa matrix to be filled with model outputs for given points of time

Implemented in adore::mad::OdeRK4< T >.


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