Detail_TrackerSamplerPF_ParamsTrait

Trait Detail_TrackerSamplerPF_ParamsTrait 

Source
pub trait Detail_TrackerSamplerPF_ParamsTrait: Detail_TrackerSamplerPF_ParamsTraitConst {
    // Required method
    fn as_raw_mut_Detail_TrackerSamplerPF_Params(&mut self) -> *mut c_void;

    // Provided methods
    fn set_iteration_num(&mut self, val: i32) { ... }
    fn set_particles_num(&mut self, val: i32) { ... }
    fn set_alpha(&mut self, val: f64) { ... }
    fn set_std(&mut self, val: Mat_<f64>) { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_iteration_num(&mut self, val: i32)

number of selection rounds

Source

fn set_particles_num(&mut self, val: i32)

number of “perturbed” boxes on each round

Source

fn set_alpha(&mut self, val: f64)

with each new round we exponentially decrease the amount of “perturbing” we allow (like in simulated annealing) and this very alpha controls how fast annealing happens, ie. how fast perturbing decreases

Source

fn set_std(&mut self, val: Mat_<f64>)

initial values for perturbing (1-by-4 array, as each rectangle is given by 4 values – coordinates of opposite vertices, hence we have 4 values to perturb)

Implementors§