Parameterize abstract filters
Opened this issue · 1 comments
jamgochiana commented
Lines 9 to 15 in 1aa2a64
ExtendedKalmanFilter
should be parameterized by DynamicsModel and ObservationModel types.
zsunberg commented
Parameterizing by the DynamicsModel
and ObservationModel
types will indeed yield significant performance improvement, but these parameters need not be present in function signatures, for example:
function predict(b0::GaussianBelief, u::AbstractVector, filter::ExtendedKalmanFilter)
will have identical performance to
function predict(b0::GaussianBelief, u::Vector{a}, filter::ExtendedKalmanFilter) where a<:Number
as you have now