[][src]Trait kurobako_core::solver::SolverRecipe

pub trait SolverRecipe: Clone + Send + StructOpt + Serialize + for<'a> Deserialize<'a> {
    type Factory: SolverFactory;
    fn create_factory(
        &self,
        registry: &FactoryRegistry
    ) -> Result<Self::Factory>; }

Recipe of a solver.

Associated Types

type Factory: SolverFactory

The type of he factory creating solver instances from this recipe.

Loading content...

Required methods

fn create_factory(&self, registry: &FactoryRegistry) -> Result<Self::Factory>

Creates a solver factory.

Loading content...

Implementors

Loading content...