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: usizeW: consecutive windows for drift estimation (paper: 5)
dsa_window: usizeDSA drift window (paper: 10)
persistence_threshold: usizeK: minimum grammar hits for state confirmation (paper: 4)
consistency_gate: f64τ: directional consistency threshold for DSA (paper: 2.0)
corroboration_count: usizem: minimum co-activating signals for run-level alert (paper: 1)
hysteresis_confirm: usizen_confirm: consecutive steps for hysteresis (paper: 2)
boundary_fraction: f64Fraction of ρ for boundary entry (paper: 0.5)
episode_correlation_window: u64Windows for temporal episode grouping
episode_precision_window: u64W_pred: look-ahead for episode precision (paper: 5)
min_healthy_windows: usizeMinimum healthy windows for baseline (paper: 100)
slew_delta: f64Slew threshold δ_s for slew density computation
Implementations§
Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EngineConfig
impl Debug for EngineConfig
Source§impl Default for EngineConfig
impl Default for EngineConfig
Source§impl PartialEq for EngineConfig
impl PartialEq for EngineConfig
Source§fn eq(&self, other: &EngineConfig) -> bool
fn eq(&self, other: &EngineConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EngineConfig
impl StructuralPartialEq for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
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