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