Struct rosomaxa::HeuristicStatistics
source · pub struct HeuristicStatistics {
pub generation: usize,
pub time: Timer,
pub speed: HeuristicSpeed,
pub improvement_all_ratio: f64,
pub improvement_1000_ratio: f64,
pub termination_estimate: f64,
}
Expand description
A refinement statistics to track evolution progress.
Fields§
§generation: usize
A number which specifies refinement generation.
time: Timer
Elapsed seconds since algorithm start.
speed: HeuristicSpeed
A current refinement speed.
improvement_all_ratio: f64
An improvement ratio from beginning.
improvement_1000_ratio: f64
An improvement ratio over last 1000 iterations.
termination_estimate: f64
A progress till algorithm’s termination.
Trait Implementations§
source§impl Clone for HeuristicStatistics
impl Clone for HeuristicStatistics
source§fn clone(&self) -> HeuristicStatistics
fn clone(&self) -> HeuristicStatistics
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for HeuristicStatistics
impl Send for HeuristicStatistics
impl Sync for HeuristicStatistics
impl Unpin for HeuristicStatistics
impl UnwindSafe for HeuristicStatistics
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