Skip to main content

RuntimeAggregationVariant

Trait RuntimeAggregationVariant 

Source
pub trait RuntimeAggregationVariant {
    // Required methods
    fn descriptor(&self) -> VariantDescriptor;
    fn selected_slots(&self, total_scenarios: usize) -> Vec<usize>;

    // Provided method
    fn sampling_plan(&self, total_scenarios: usize) -> RuntimeSamplingPlan { ... }
}

Required Methods§

Source

fn descriptor(&self) -> VariantDescriptor

Source

fn selected_slots(&self, total_scenarios: usize) -> Vec<usize>

Provided Methods§

Source

fn sampling_plan(&self, total_scenarios: usize) -> RuntimeSamplingPlan

Implementors§