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

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

Recipe of a solver.

Associated Types

type Factory: SolverFactory[src]

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

Loading content...

Required methods

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

Creates a solver factory.

Loading content...

Implementors

impl SolverRecipe for EmbeddedScriptSolverRecipe[src]

type Factory = EmbeddedScriptSolverFactory

impl SolverRecipe for ExternalProgramSolverRecipe[src]

type Factory = ExternalProgramSolverFactory

Loading content...