Struct kurobako_solvers::asha::AshaSolverFactory
source · [−]pub struct AshaSolverFactory { /* private fields */ }
Expand description
Factory of AshaSolver
.
Trait Implementations
sourceimpl Debug for AshaSolverFactory
impl Debug for AshaSolverFactory
sourceimpl SolverFactory for AshaSolverFactory
impl SolverFactory for AshaSolverFactory
type Solver = AshaSolver
type Solver = AshaSolver
The type of the solver instance created by this factory.
sourcefn specification(&self) -> Result<SolverSpec>
fn specification(&self) -> Result<SolverSpec>
Returns the specification of the solver created by this factory.
sourcefn create_solver(
&self,
rng: ArcRng,
problem: &ProblemSpec
) -> Result<Self::Solver>
fn create_solver(
&self,
rng: ArcRng,
problem: &ProblemSpec
) -> Result<Self::Solver>
Creates a solver instance.
Auto Trait Implementations
impl !RefUnwindSafe for AshaSolverFactory
impl Send for AshaSolverFactory
impl !Sync for AshaSolverFactory
impl Unpin for AshaSolverFactory
impl !UnwindSafe for AshaSolverFactory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more