SolverTrait

Trait SolverTrait 

Source
pub trait SolverTrait {
    type P: Problem;

    // Required method
    fn run<'a>(&self, problem: &'a Self::P) -> Result<Solution<'a>, String>;
}

Required Associated Types§

Required Methods§

Source

fn run<'a>(&self, problem: &'a Self::P) -> Result<Solution<'a>, String>

Implementors§