WhatIfAnalysis

Trait WhatIfAnalysis 

Source
pub trait WhatIfAnalysis {
    // Required methods
    fn what_if(&self, project: &Project, change: &Constraint) -> WhatIfReport;
    fn count_solutions(&self, project: &Project) -> BigUint;
    fn critical_constraints(&self, project: &Project) -> Vec<Constraint>;
}
Expand description

What-if analysis capabilities (typically BDD-powered)

Required Methods§

Source

fn what_if(&self, project: &Project, change: &Constraint) -> WhatIfReport

Analyze impact of a constraint change

Source

fn count_solutions(&self, project: &Project) -> BigUint

Count valid schedules under current constraints

Source

fn critical_constraints(&self, project: &Project) -> Vec<Constraint>

Find all critical constraints

Implementors§