pub struct Stats {
pub evaluations: u64,
pub generations: u64,
pub best_cost: f64,
}Expand description
Counters collected during one run, handed to the Budget before every evaluation and
returned in every outcome.
Fields§
§evaluations: u64Objective evaluations performed so far, including those of local searches.
generations: u64Completed generations (or iterations of a non-generational algorithm such as RMHC, where one iteration is one evaluation).
best_cost: f64The cost of the best genome evaluated so far; +∞ before the first evaluation.
Trait Implementations§
impl Copy for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Forget for Stats
impl Freeze for Stats
impl Move for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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