[][src]Trait samplics::sampling::UnequalProbability

pub trait UnequalProbability<T> where
    T: Copy
{ pub fn new(
        samp_size: HashMap<T, usize>,
        with_replacement: bool,
        pps_method: Option<PPS>
    ) -> Self;
pub fn select(&mut self, pop: &Population<T>, seed: Option<u64>);
pub fn calculate_probs(&mut self); }

Required methods

pub fn new(
    samp_size: HashMap<T, usize>,
    with_replacement: bool,
    pps_method: Option<PPS>
) -> Self
[src]

pub fn select(&mut self, pop: &Population<T>, seed: Option<u64>)[src]

pub fn calculate_probs(&mut self)[src]

Loading content...

Implementors

Loading content...