pub struct SearchUpdate {
pub batch: u64,
pub evaluations: u64,
pub runs: u64,
pub evaluated: Vec<EvaluatedCandidate>,
pub best: Option<RankingEntry>,
pub generations: Vec<GenerationSummary>,
pub landed_entries: Vec<ArchiveEntry>,
pub filled_cells: u64,
pub pattern_settings: Option<PatternSpaceSettings>,
}Expand description
Standing of a search after it was told the evaluations of one batch.
Fields§
§batch: u64Index of the batch, counting from 0.
evaluations: u64Number of evaluations told so far, including the batch’s evaluations.
runs: u64Number of runs in those evaluations.
evaluated: Vec<EvaluatedCandidate>Evaluations of the batch, in candidate order.
best: Option<RankingEntry>Best candidate after the batch, None for a Pattern Space Exploration.
generations: Vec<GenerationSummary>Generations of a genetic algorithm that finished with the batch, in order.
landed_entries: Vec<ArchiveEntry>Archive entries for the cells that the batch touched in a Pattern Space Exploration, as they stand after the batch, in cell order.
filled_cells: u64Number of cells that the archive fills after the batch, 0 for any other search.
pattern_settings: Option<PatternSpaceSettings>Settings that a Pattern Space Exploration uses to place outputs, each axis with its range. None for any other
search, or while an automatic range waits for the initial samples.
Trait Implementations§
Source§impl Clone for SearchUpdate
impl Clone for SearchUpdate
Source§impl Debug for SearchUpdate
impl Debug for SearchUpdate
Source§impl PartialEq for SearchUpdate
impl PartialEq for SearchUpdate
impl StructuralPartialEq for SearchUpdate
Auto Trait Implementations§
impl Freeze for SearchUpdate
impl RefUnwindSafe for SearchUpdate
impl Send for SearchUpdate
impl Sync for SearchUpdate
impl Unpin for SearchUpdate
impl UnsafeUnpin for SearchUpdate
impl UnwindSafe for SearchUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more