Struct IncumbentPoint
#[non_exhaustive]pub struct IncumbentPoint {
pub number: TrialNumber,
pub value: f64,
pub best: f64,
}Expand description
One trial on a single-objective study’s best-so-far (incumbent) curve
(crate::study::StudyView::incumbent_curve).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.number: TrialNumberThe trial’s number.
value: f64The trial’s own objective value.
best: f64The incumbent’s objective value once this trial is counted.
Trait Implementations§
§impl Clone for IncumbentPoint
impl Clone for IncumbentPoint
§fn clone(&self) -> IncumbentPoint
fn clone(&self) -> IncumbentPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IncumbentPoint
§impl Debug for IncumbentPoint
impl Debug for IncumbentPoint
§impl PartialEq for IncumbentPoint
impl PartialEq for IncumbentPoint
impl StructuralPartialEq for IncumbentPoint
Auto Trait Implementations§
impl Freeze for IncumbentPoint
impl RefUnwindSafe for IncumbentPoint
impl Send for IncumbentPoint
impl Sync for IncumbentPoint
impl Unpin for IncumbentPoint
impl UnsafeUnpin for IncumbentPoint
impl UnwindSafe for IncumbentPoint
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