Struct TrialOutcome
pub struct TrialOutcome {
pub number: u64,
pub id: TrialId,
pub label: String,
pub state: TrialState,
pub value: Option<f64>,
pub steps_consumed: u64,
pub paused_at: Vec<u64>,
pub resumed: bool,
pub latest_checkpoint_step: Option<u64>,
}Expand description
What one trial did under the freeze-thaw scheduler.
Fields§
§number: u64The trial’s per-study number (and its index into the scenario).
id: TrialIdThe trial’s storage id (what the decision log is keyed by).
label: StringThe role label of the curve it ran (from LabeledCurve::label).
state: TrialStateIts final life-cycle state — Paused for a frozen trial that was never
thawed to completion, Complete otherwise.
value: Option<f64>The objective value the study ranks it by, if any.
steps_consumed: u64The highest step it reported — its resource consumption, the budget a frozen trial shrinks.
paused_at: Vec<u64>The steps at which the scheduler paused this trial (empty if never).
resumed: boolWhether the scheduler resumed this trial at least once.
latest_checkpoint_step: Option<u64>The step of the trial’s most advanced recorded checkpoint reference, if
any — proof that a paused trial keeps its checkpoint (atune moves the
reference, never the bytes, docs/design/03-architecture.md §5).
Trait Implementations§
§impl Clone for TrialOutcome
impl Clone for TrialOutcome
§fn clone(&self) -> TrialOutcome
fn clone(&self) -> TrialOutcome
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for TrialOutcome
impl Debug for TrialOutcome
§impl PartialEq for TrialOutcome
impl PartialEq for TrialOutcome
impl StructuralPartialEq for TrialOutcome
Auto Trait Implementations§
impl Freeze for TrialOutcome
impl RefUnwindSafe for TrialOutcome
impl Send for TrialOutcome
impl Sync for TrialOutcome
impl Unpin for TrialOutcome
impl UnsafeUnpin for TrialOutcome
impl UnwindSafe for TrialOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more