Trait backtrack::problem::Check[][src]

pub trait Check {
    fn extends_sat(&self, solution: &[usize], x: usize) -> bool;
}

Check if a combination of values is satisfactory

Required methods

fn extends_sat(&self, solution: &[usize], x: usize) -> bool[src]

Return true if new value extends an already valid partial solution

Arguments

  • solution: candidate solution from x_0 to x_l-1 deemed valid
  • x: new value
Loading content...

Implementors

impl Check for CountUp[src]

impl Check for NQueens[src]

impl<T: CheckInc> Check for T[src]

Loading content...