pub struct EventDrivenConfig {
pub spike_threshold: f64,
pub refractory_period: usize,
pub min_update_interval: usize,
pub adaptive_threshold: bool,
pub threshold_adapt_rate: f64,
}Expand description
Event-driven optimization configuration
Fields§
§spike_threshold: f64Spike threshold for gradient magnitude
refractory_period: usizeRefractory period (steps to skip after spike)
min_update_interval: usizeMinimum time between updates (in steps)
adaptive_threshold: boolUse adaptive thresholding
threshold_adapt_rate: f64Threshold adaptation rate
Trait Implementations§
Source§impl Clone for EventDrivenConfig
impl Clone for EventDrivenConfig
Source§fn clone(&self) -> EventDrivenConfig
fn clone(&self) -> EventDrivenConfig
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 moreSource§impl Debug for EventDrivenConfig
impl Debug for EventDrivenConfig
Auto Trait Implementations§
impl Freeze for EventDrivenConfig
impl RefUnwindSafe for EventDrivenConfig
impl Send for EventDrivenConfig
impl Sync for EventDrivenConfig
impl Unpin for EventDrivenConfig
impl UnsafeUnpin for EventDrivenConfig
impl UnwindSafe for EventDrivenConfig
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
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,
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> ⓘ
Converts
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> ⓘ
Converts
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