Interface for a filter that performs a (nonlinear) mapping from the input state to an output state.
More...
#include <state_mapping.hpp>
|
std::shared_ptr< OutputStateType > | output_ |
| Last computet output state. More...
|
|
std::shared_ptr< ParamType > | params_ |
| Pointer to the class parameters object. More...
|
|
template<typename InputStateType, typename OutputStateType, typename ParamType>
class tuw::StateMapping< InputStateType, OutputStateType, ParamType >
Interface for a filter that performs a (nonlinear) mapping from the input state to an output state.
- Template Parameters
-
InputStateType | Class defining the current state of the afferent system |
OutputStateType | Class defining the computed state of the filter |
ParamType | Class defining the filter parameters |
Definition at line 48 of file state_mapping.hpp.
template<typename InputStateType , typename OutputStateType , typename ParamType >
template<typename InputStateType , typename OutputStateType , typename ParamType >
template<typename InputStateType , typename OutputStateType , typename ParamType >
template<typename InputStateType , typename OutputStateType , typename ParamType >
template<typename InputStateType , typename OutputStateType , typename ParamType >
virtual std::shared_ptr<OutputStateType>& tuw::StateMapping< InputStateType, OutputStateType, ParamType >::compute |
( |
std::shared_ptr< InputStateType > & |
_x, |
|
|
const double & |
_t |
|
) |
| |
|
pure virtual |
Computes the output state after a (nonlinear) state mapping.
- Parameters
-
_x | Input state |
_t | Actual temporal evaluation point |
- Returns
- Output state
template<typename InputStateType , typename OutputStateType , typename ParamType >
template<typename InputStateType , typename OutputStateType , typename ParamType >
template<typename InputStateType , typename OutputStateType , typename ParamType >
std::shared_ptr<OutputStateType>& tuw::StateMapping< InputStateType, OutputStateType, ParamType >::output |
( |
| ) |
|
|
inline |
template<typename InputStateType , typename OutputStateType , typename ParamType >
virtual void tuw::StateMapping< InputStateType, OutputStateType, ParamType >::reloadParam |
( |
| ) |
|
|
pure virtual |
Reloads class parameters. To be called when parameters that influence the class variables are changed.
template<typename InputStateType , typename OutputStateType , typename ParamType >
std::shared_ptr<OutputStateType> tuw::StateMapping< InputStateType, OutputStateType, ParamType >::output_ |
|
protected |
template<typename InputStateType , typename OutputStateType , typename ParamType >
std::shared_ptr<ParamType> tuw::StateMapping< InputStateType, OutputStateType, ParamType >::params_ |
|
protected |
The documentation for this class was generated from the following file: