pub struct ParticleConfig {
pub n_particles: usize,
pub dim_x: usize,
pub dim_z: usize,
pub resample_threshold: f64,
}Expand description
Configuration for the particle filter.
Fields§
§n_particles: usizeNumber of particles N (must be ≥ 2).
dim_x: usizeState dimension.
dim_z: usizeObservation dimension.
resample_threshold: f64Effective sample size threshold for resampling: resample when N_eff < threshold * N.
Trait Implementations§
Source§impl Clone for ParticleConfig
impl Clone for ParticleConfig
Source§fn clone(&self) -> ParticleConfig
fn clone(&self) -> ParticleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParticleConfig
impl Debug for ParticleConfig
Auto Trait Implementations§
impl Freeze for ParticleConfig
impl RefUnwindSafe for ParticleConfig
impl Send for ParticleConfig
impl Sync for ParticleConfig
impl Unpin for ParticleConfig
impl UnsafeUnpin for ParticleConfig
impl UnwindSafe for ParticleConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more