pub trait FairnessModel: Debug {
// Required methods
fn allocate_budget(&self, algorithms: &[Box<dyn Sorter>]) -> Vec<usize>;
fn name(&self) -> &str;
}
Expand description
Fairness model trait for allocating step budgets
pub trait FairnessModel: Debug {
// Required methods
fn allocate_budget(&self, algorithms: &[Box<dyn Sorter>]) -> Vec<usize>;
fn name(&self) -> &str;
}
Fairness model trait for allocating step budgets