pub struct Elite<G> {
pub genome: G,
pub cost: f64,
pub descriptor: Vec<f64>,
}Expand description
One stored elite.
Fields§
§genome: GThe genome.
cost: f64Its cost; the smallest of every genome offered for this cell.
descriptor: Vec<f64>Its behaviour descriptor, inside this cell.
Trait Implementations§
impl<G: PartialEq> StructuralPartialEq for Elite<G>
Auto Trait Implementations§
impl<G> Forget for Elite<G>
impl<G> Freeze for Elite<G>where
G: Freeze,
impl<G> Move for Elite<G>
impl<G> RefUnwindSafe for Elite<G>where
G: RefUnwindSafe,
impl<G> Send for Elite<G>where
G: Send,
impl<G> Sync for Elite<G>where
G: Sync,
impl<G> Unpin for Elite<G>where
G: Unpin,
impl<G> UnsafeUnpin for Elite<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for Elite<G>where
G: UnwindSafe,
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