pub struct Budget {
pub retries: usize,
pub evaluations_per_retry: u64,
pub evaluation_limit_mode: String,
pub wall_time_seconds: f64,
pub grace_seconds: f64,
}Expand description
Evaluation and time budget of one job.
Fields§
§retries: usizeThe number of independent retries.
evaluations_per_retry: u64The objective evaluations of each retry.
evaluation_limit_mode: Stringhard for BiteOpt, which never exceeds the evaluations, or soft for
DE, which may exceed them by 2 * population - 1 per retry.
wall_time_seconds: f64No new retry wave starts after this execution time.
grace_seconds: f64Declared interval between the wall-time deadline and killing the worker. A retry wave still running after it is lost and the job’s accounting becomes incomplete.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Budget
impl<'de> Deserialize<'de> for Budget
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
impl StructuralPartialEq for Budget
Auto Trait Implementations§
impl Forget for Budget
impl Freeze for Budget
impl Move for Budget
impl RefUnwindSafe for Budget
impl Send for Budgetwhere
RawVecInner: Send,
impl Sync for Budgetwhere
RawVecInner: Sync,
impl Unpin for Budget
impl UnsafeUnpin for Budget
impl UnwindSafe for Budgetwhere
RawVecInner: UnwindSafe,
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