pub trait SolverFactory: Send {
    type Solver: Solver;

    fn specification(&self) -> Result<SolverSpec>;
    fn create_solver(
        &self,
        rng: ArcRng,
        problem: &ProblemSpec
    ) -> Result<Self::Solver>; }
Expand description

This trait allows creating instances of a solver.

Required Associated Types

The type of the solver instance created by this factory.

Required Methods

Returns the specification of the solver created by this factory.

Creates a solver instance.

Implementors