Enum radiate_rust::engines::optimize::Optimize
source · pub enum Optimize {
Minimize,
Maximize,
}Variants§
Implementations§
source§impl Optimize
impl Optimize
pub fn sort<G: Gene<G, A>, A>(&self, population: &mut Population<G, A>)
pub fn sort_index<G: Gene<G, A>, A>( &self, population: &mut Population<G, A>, ) -> Vec<usize>
Auto Trait Implementations§
impl Freeze for Optimize
impl RefUnwindSafe for Optimize
impl Send for Optimize
impl Sync for Optimize
impl Unpin for Optimize
impl UnwindSafe for Optimize
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