pub struct Candidate {
pub id: u64,
pub genome: Genome,
pub replicate_offset: u64,
pub origin: CandidateOrigin,
}Expand description
A point of a search space to evaluate.
Fields§
§id: u64Position of the candidate among every candidate of the search, counting from 0.
genome: GenomePoint of the space the candidate decodes from.
replicate_offset: u64Replicate index of the candidate’s first run.
A first evaluation starts at 0. A re-evaluation starts past every replicate its candidate has.
origin: CandidateOriginSource of the candidate’s genome.
Trait Implementations§
impl StructuralPartialEq for Candidate
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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