pub struct Report {
pub solution: Solution,
pub stop: StopReason,
pub evaluations: usize,
}Expand description
Full outcome of a run: the best Solution, how it stopped, and the number
of objective evaluations actually spent.
Fields§
§solution: SolutionBest solution found.
stop: StopReasonWhy the run terminated.
evaluations: usizeObjective evaluations performed.
Implementations§
Source§impl Report
impl Report
Sourcepub fn best_value(&self) -> f64
pub fn best_value(&self) -> f64
Best objective in the minimizing sense (as stored).
Sourcepub fn best_value_maximized(&self) -> f64
pub fn best_value_maximized(&self) -> f64
Best objective in the maximizing sense — the negation of
Report::best_value. Use this when the problem was wrapped in
Maximize.
Trait Implementations§
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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