pub struct RetryRecord {
pub retry_id: usize,
pub run_seed: u64,
pub spec_digest: String,
pub initialization: String,
pub x: Vec<f64>,
pub y: Option<f64>,
pub actual_evaluations: u64,
pub elapsed_seconds: f64,
pub valid: bool,
pub feasible: bool,
}Expand description
One completed retry in the journal retries.jsonl of an fcmaes.job/0.1
attempt.
Fields§
§retry_id: usizeThe retry’s index, below budget.retries.
run_seed: u64The retry’s seed, derived from execution.seed and retry_id.
spec_digest: StringThe JobSpec::digest of the retry’s job.
initialization: StringHow the optimizer’s start was drawn.
x: Vec<f64>The retry’s best point, inside the bounds.
y: Option<f64>The objective of x; None if the retry found no finite value.
actual_evaluations: u64The objective evaluations the retry used.
elapsed_seconds: f64The time the retry took.
valid: boolWhether y is present.
feasible: boolWhether x is feasible; never true without valid.
Trait Implementations§
Source§impl Clone for RetryRecord
impl Clone for RetryRecord
Source§impl Debug for RetryRecord
impl Debug for RetryRecord
Source§impl<'de> Deserialize<'de> for RetryRecord
impl<'de> Deserialize<'de> for RetryRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for RetryRecord
impl Freeze for RetryRecord
impl Move for RetryRecord
impl RefUnwindSafe for RetryRecord
impl Send for RetryRecord
impl Sync for RetryRecord
impl Unpin for RetryRecord
impl UnsafeUnpin for RetryRecord
impl UnwindSafe for RetryRecord
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