template<typename Model_, typename Method_>
class Emrys::ModelWithMethod< Model_, Method_ >
A process model and the prediction method that one mode of a SwitchingModel predicts it by, in place of the filter's [switching-models].
A switching model's modes predict by the filter's method unless a mode's model carries its own, as a FixedStepModel always does and a model given to withMethod() does: in SwitchingModel{chain, cruise, withMethod(turn, methods::unscented())} the cruise mode predicts by the filter's method, Linearized by default, and the turn mode by Unscented. It is a switching model's argument only: SwitchingModel::model() returns the model it holds, and no other filter takes it.
- Template Parameters
-
| Model_ | the process model, which is not fixed-step |
| Method_ | the prediction method (see TransformMethod), not an Iterated one |
- See also
- withMethod(), SwitchingModel