Struct kurobako_solvers::optuna::OptunaSolverFactory
source · [−]pub struct OptunaSolverFactory { /* private fields */ }
Expand description
Factory of OptunaSolver
.
Trait Implementations
sourceimpl Debug for OptunaSolverFactory
impl Debug for OptunaSolverFactory
sourceimpl SolverFactory for OptunaSolverFactory
impl SolverFactory for OptunaSolverFactory
type Solver = OptunaSolver
type Solver = OptunaSolver
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 OptunaSolverFactory
impl Send for OptunaSolverFactory
impl Sync for OptunaSolverFactory
impl Unpin for OptunaSolverFactory
impl UnwindSafe for OptunaSolverFactory
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