pub struct MultiObjectiveGA<E, F, C> { /* private fields */ }Expand description
Multi-objective optimization using NSGA-II algorithm
This implements the Non-dominated Sorting Genetic Algorithm II (NSGA-II) for multi-objective optimization problems where multiple conflicting objectives need to be optimized simultaneously.
Implementations§
Source§impl<E, F, C> MultiObjectiveGA<E, F, C>
impl<E, F, C> MultiObjectiveGA<E, F, C>
Sourcepub fn new(estimator: E, parameter_space: ParameterSpace, cv: C) -> Self
pub fn new(estimator: E, parameter_space: ParameterSpace, cv: C) -> Self
Create a new multi-objective genetic algorithm optimizer
Sourcepub fn config(self, config: GeneticAlgorithmConfig) -> Self
pub fn config(self, config: GeneticAlgorithmConfig) -> Self
Set the configuration
Sourcepub fn add_objective<FObj>(self, objective: FObj) -> Self
pub fn add_objective<FObj>(self, objective: FObj) -> Self
Add an objective function
Auto Trait Implementations§
impl<E, F, C> Freeze for MultiObjectiveGA<E, F, C>
impl<E, F, C> !RefUnwindSafe for MultiObjectiveGA<E, F, C>
impl<E, F, C> Send for MultiObjectiveGA<E, F, C>
impl<E, F, C> Sync for MultiObjectiveGA<E, F, C>
impl<E, F, C> Unpin for MultiObjectiveGA<E, F, C>
impl<E, F, C> UnsafeUnpin for MultiObjectiveGA<E, F, C>where
E: UnsafeUnpin,
C: UnsafeUnpin,
impl<E, F, C> !UnwindSafe for MultiObjectiveGA<E, F, C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more