pub struct MetricSet { /* private fields */ }Implementations§
Source§impl MetricSet
impl MetricSet
pub fn time(&self) -> Option<&Metric>
pub fn score(&self) -> Option<&Metric>
pub fn improvements(&self) -> Option<&Metric>
pub fn age(&self) -> Option<&Metric>
pub fn replace_age(&self) -> Option<&Metric>
pub fn replace_invalid(&self) -> Option<&Metric>
pub fn genome_size(&self) -> Option<&Metric>
pub fn front_size(&self) -> Option<&Metric>
pub fn front_comparisons(&self) -> Option<&Metric>
pub fn front_removals(&self) -> Option<&Metric>
pub fn front_additions(&self) -> Option<&Metric>
pub fn front_entropy(&self) -> Option<&Metric>
pub fn unique_members(&self) -> Option<&Metric>
pub fn unique_scores(&self) -> Option<&Metric>
pub fn new_children(&self) -> Option<&Metric>
pub fn survivor_count(&self) -> Option<&Metric>
pub fn carryover_rate(&self) -> Option<&Metric>
pub fn evaluation_count(&self) -> Option<&Metric>
pub fn diversity_ratio(&self) -> Option<&Metric>
pub fn score_volatility(&self) -> Option<&Metric>
pub fn scores_evenness(&self) -> Option<&Metric>
pub fn scores_gini(&self) -> Option<&Metric>
pub fn size_score_corr(&self) -> Option<&Metric>
pub fn species_count(&self) -> Option<&Metric>
pub fn species_age_fail(&self) -> Option<&Metric>
pub fn species_distance_dist(&self) -> Option<&Metric>
pub fn species_created(&self) -> Option<&Metric>
pub fn species_died(&self) -> Option<&Metric>
pub fn species_age(&self) -> Option<&Metric>
pub fn species_size(&self) -> Option<&Metric>
pub fn species_evenness(&self) -> Option<&Metric>
pub fn species_new_ratio(&self) -> Option<&Metric>
pub fn front_filters(&self) -> Option<&Metric>
pub fn best_scores(&self) -> Option<&Metric>
pub fn index(&self) -> Option<&Metric>
pub fn species_threshold(&self) -> Option<&Metric>
Source§impl MetricSet
impl MetricSet
pub fn new() -> Self
pub fn bump(&mut self, generation: u64)
pub fn generation(&self) -> u64
pub fn upsert<'a>( &mut self, key: impl AsRef<str>, metric: impl Into<MetricUpdate<'a>>, )
pub fn upsert_tagged<'a>( &mut self, key: impl AsRef<str>, metric: impl Into<MetricUpdate<'a>>, tag: TagType, )
pub fn keys(&self) -> impl Iterator<Item = SmallStr>
pub fn replace(&mut self, metric: impl Into<Metric>)
pub fn iter_tagged(&self, tag: TagType) -> impl Iterator<Item = (&str, &Metric)>
pub fn iter(&self) -> impl Iterator<Item = (&str, &Metric)>
pub fn add(&mut self, metric: Metric)
pub fn get(&self, name: impl AsRef<str>) -> Option<&Metric>
pub fn clear(&mut self)
pub fn contains_key(&self, name: impl AsRef<str>) -> bool
pub fn remove_samples(&mut self)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn summary(&self) -> MetricSetSummary
pub fn dashboard(&self) -> String
Trait Implementations§
Source§impl ExprSelector for MetricSet
impl ExprSelector for MetricSet
fn select(&self, sel: &SelectExpr) -> AnyValue<'static>
impl StructuralPartialEq for MetricSet
Auto Trait Implementations§
impl Freeze for MetricSet
impl RefUnwindSafe for MetricSet
impl Send for MetricSet
impl Sync for MetricSet
impl Unpin for MetricSet
impl UnsafeUnpin for MetricSet
impl UnwindSafe for MetricSet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more