pub struct Node<Solution> {
pub id: usize,
pub solution: Solution,
pub score: f32,
}Expand description
A node is a wrapper that contains one specific solution for an experiment that was created during a genetic run.
Fields§
§id: usize§solution: Solution§score: f32Trait Implementations§
impl<Solution: Copy> Copy for Node<Solution>
Auto Trait Implementations§
impl<Solution> Freeze for Node<Solution>where
Solution: Freeze,
impl<Solution> RefUnwindSafe for Node<Solution>where
Solution: RefUnwindSafe,
impl<Solution> Send for Node<Solution>where
Solution: Send,
impl<Solution> Sync for Node<Solution>where
Solution: Sync,
impl<Solution> Unpin for Node<Solution>where
Solution: Unpin,
impl<Solution> UnwindSafe for Node<Solution>where
Solution: 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