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§
Sourcefn what_if(&self, project: &Project, change: &Constraint) -> WhatIfReport
fn what_if(&self, project: &Project, change: &Constraint) -> WhatIfReport
Analyze impact of a constraint change
Sourcefn count_solutions(&self, project: &Project) -> BigUint
fn count_solutions(&self, project: &Project) -> BigUint
Count valid schedules under current constraints
Sourcefn critical_constraints(&self, project: &Project) -> Vec<Constraint>
fn critical_constraints(&self, project: &Project) -> Vec<Constraint>
Find all critical constraints