pub struct SearchStats {Show 15 fields
pub gen_time: Duration,
pub search_time: Duration,
pub lhs_count: usize,
pub rhs_count: usize,
pub lhs_tested: usize,
pub candidates_tested: usize,
pub newton_calls: usize,
pub newton_success: usize,
pub pool_insertions: usize,
pub pool_rejections_error: usize,
pub pool_rejections_dedupe: usize,
pub pool_evictions: usize,
pub pool_final_size: usize,
pub pool_best_error: f64,
pub early_exit: bool,
}Expand description
Statistics collected during search
Fields§
§gen_time: DurationTime spent generating expressions
search_time: DurationTime spent searching/matching
lhs_count: usizeNumber of LHS expressions generated
rhs_count: usizeNumber of RHS expressions generated
lhs_tested: usizeNumber of LHS expressions tested (after filtering)
candidates_tested: usizeNumber of candidate pairs tested (coarse filter)
newton_calls: usizeNumber of Newton-Raphson calls
newton_success: usizeNumber of successful Newton convergences
pool_insertions: usizeNumber of matches inserted into pool
pool_rejections_error: usizeNumber of matches rejected by pool (error threshold)
pool_rejections_dedupe: usizeNumber of matches rejected by pool (dedupe)
pool_evictions: usizeNumber of matches evicted from pool
pool_final_size: usizeFinal pool size
pool_best_error: f64Final best error in pool
early_exit: boolWhether search exited early
Implementations§
Trait Implementations§
Source§impl Clone for SearchStats
impl Clone for SearchStats
Source§fn clone(&self) -> SearchStats
fn clone(&self) -> SearchStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SearchStats
impl Debug for SearchStats
Source§impl Default for SearchStats
impl Default for SearchStats
Source§fn default() -> SearchStats
fn default() -> SearchStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SearchStats
impl RefUnwindSafe for SearchStats
impl Send for SearchStats
impl Sync for SearchStats
impl Unpin for SearchStats
impl UnsafeUnpin for SearchStats
impl UnwindSafe for SearchStats
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> 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>
Converts
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>
Converts
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