Struct LineageEntry
pub struct LineageEntry {
pub trial: TrialId,
pub number: TrialNumber,
pub parent: Option<TrialId>,
pub mutation: Assignment,
pub value: Option<f64>,
}Expand description
One trial’s place in the fork genealogy.
Fields§
§trial: TrialIdStorage-global identity.
number: TrialNumberPer-study ordinal — the order fork_lineage returns entries in.
parent: Option<TrialId>The trial this one forked from, if any
(FrozenTrial::parent).
mutation: AssignmentThe explore perturbation: the parameters whose value differs from the parent’s (the exploit-and-explore mutation the fork applied). Empty for a root trial, or when the parent is not in the view.
value: Option<f64>The trial’s single objective value, if it has one — handy for a report or
a GUI node label. None for a multi-objective study or an unfinished
trial.
Implementations§
§impl LineageEntry
impl LineageEntry
Trait Implementations§
§impl Clone for LineageEntry
impl Clone for LineageEntry
§fn clone(&self) -> LineageEntry
fn clone(&self) -> LineageEntry
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 more§impl Debug for LineageEntry
impl Debug for LineageEntry
§impl PartialEq for LineageEntry
impl PartialEq for LineageEntry
impl StructuralPartialEq for LineageEntry
Auto Trait Implementations§
impl Freeze for LineageEntry
impl RefUnwindSafe for LineageEntry
impl Send for LineageEntry
impl Sync for LineageEntry
impl Unpin for LineageEntry
impl UnsafeUnpin for LineageEntry
impl UnwindSafe for LineageEntry
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