Skip to main content

AssignmentSolver

Trait AssignmentSolver 

Source
pub trait AssignmentSolver {
    // Required methods
    fn solve(
        &self,
        problem: &AssignmentProblem,
        params: &SolverParams,
    ) -> Result<AssignmentSolution>;
    fn name(&self) -> &'static str;
}
Expand description

Trait for assignment solvers

Required Methods§

Source

fn solve( &self, problem: &AssignmentProblem, params: &SolverParams, ) -> Result<AssignmentSolution>

Solve the assignment problem

Source

fn name(&self) -> &'static str

Solver name

Implementors§