pub struct Schaffer;Expand description
Schaffer’s problem N.1 on one real x: (x², (x - 2)²); the Pareto set is [0, 2].
Trait Implementations§
impl Copy for Schaffer
impl Eq for Schaffer
Source§impl MultiObjective<Vec<f64>> for Schaffer
impl MultiObjective<Vec<f64>> for Schaffer
Source§fn objectives(&self) -> usize
fn objectives(&self) -> usize
The number of objectives,
m >= 1; constant for the lifetime of the problem.impl StructuralPartialEq for Schaffer
Auto Trait Implementations§
impl Forget for Schaffer
impl Freeze for Schaffer
impl Move for Schaffer
impl RefUnwindSafe for Schaffer
impl Send for Schaffer
impl Sync for Schaffer
impl Unpin for Schaffer
impl UnsafeUnpin for Schaffer
impl UnwindSafe for Schaffer
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