rust_robotics_planning/experiments/moving_ai_runtime/
full_bucket.rs1use super::{RuntimeAggregationVariant, VariantDescriptor};
2
3#[derive(Debug, Default)]
4pub struct FullBucketRuntimeAggregation;
5
6impl FullBucketRuntimeAggregation {
7 pub fn new() -> Self {
8 Self
9 }
10}
11
12impl RuntimeAggregationVariant for FullBucketRuntimeAggregation {
13 fn descriptor(&self) -> VariantDescriptor {
14 VariantDescriptor {
15 id: "full-bucket",
16 design_style: "collector-aggregate",
17 source_path: concat!(
18 env!("CARGO_MANIFEST_DIR"),
19 "/src/experiments/moving_ai_runtime/full_bucket.rs"
20 ),
21 knob_count: 0,
22 reports_dispersion: true,
23 }
24 }
25
26 fn selected_slots(&self, total_scenarios: usize) -> Vec<usize> {
27 (0..total_scenarios).collect()
28 }
29}