Skip to main content

EngineConfig

Struct EngineConfig 

Source
pub struct EngineConfig {
    pub drift_window: usize,
    pub dsa_window: usize,
    pub persistence_threshold: usize,
    pub consistency_gate: f64,
    pub corroboration_count: usize,
    pub hysteresis_confirm: usize,
    pub boundary_fraction: f64,
    pub episode_correlation_window: u64,
    pub episode_precision_window: u64,
    pub min_healthy_windows: usize,
    pub slew_delta: f64,
}
Expand description

Engine configuration — all parameters from paper’s fixed protocol

Fields§

§drift_window: usize

W: consecutive windows for drift estimation (paper: 5)

§dsa_window: usize

DSA drift window (paper: 10)

§persistence_threshold: usize

K: minimum grammar hits for state confirmation (paper: 4)

§consistency_gate: f64

τ: directional consistency threshold for DSA (paper: 2.0)

§corroboration_count: usize

m: minimum co-activating signals for run-level alert (paper: 1)

§hysteresis_confirm: usize

n_confirm: consecutive steps for hysteresis (paper: 2)

§boundary_fraction: f64

Fraction of ρ for boundary entry (paper: 0.5)

§episode_correlation_window: u64

Windows for temporal episode grouping

§episode_precision_window: u64

W_pred: look-ahead for episode precision (paper: 5)

§min_healthy_windows: usize

Minimum healthy windows for baseline (paper: 100)

§slew_delta: f64

Slew threshold δ_s for slew density computation

Implementations§

Trait Implementations§

Source§

impl Clone for EngineConfig

Source§

fn clone(&self) -> EngineConfig

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for EngineConfig

Source§

impl Debug for EngineConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for EngineConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for EngineConfig

Source§

fn eq(&self, other: &EngineConfig) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for EngineConfig

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.