pub struct RegimeTransitionLog {
pub timestamp: Instant,
pub event_idx: u64,
pub from_regime: Regime,
pub to_regime: Regime,
pub reason_code: TransitionReasonCode,
pub confidence: f64,
pub event_rate: f64,
pub p_burst: Option<f64>,
pub cooldown_remaining: u32,
}Expand description
Transition evidence entry emitted when the controller changes regime.
Fields§
§timestamp: InstantTimestamp when transition occurred.
event_idx: u64Event index when transition occurred.
from_regime: RegimePrevious regime.
to_regime: RegimeNew regime.
reason_code: TransitionReasonCodeStructured reason code.
confidence: f64Confidence in [0, 1].
event_rate: f64Event rate at transition time.
p_burst: Option<f64>BOCPD posterior probability of burst, if available.
cooldown_remaining: u32Current cooldown counter after transition accounting.
Implementations§
Trait Implementations§
Source§impl Clone for RegimeTransitionLog
impl Clone for RegimeTransitionLog
Source§fn clone(&self) -> RegimeTransitionLog
fn clone(&self) -> RegimeTransitionLog
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RegimeTransitionLog
impl RefUnwindSafe for RegimeTransitionLog
impl Send for RegimeTransitionLog
impl Sync for RegimeTransitionLog
impl Unpin for RegimeTransitionLog
impl UnsafeUnpin for RegimeTransitionLog
impl UnwindSafe for RegimeTransitionLog
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