pub struct AdmissibilityEnvelope {
pub rho: f32,
pub boundary_frac: f32,
pub delta_s: f32,
}Expand description
Admissibility envelope parameterized by radius ρ.
Constructed from the healthy calibration window statistics.
The radius is stored as a fixed scalar; regime-dependent scaling
is applied via effective_rho() using the platform multiplier.
Fields§
§rho: f32Base envelope radius ρ = μ_healthy + 3σ_healthy.
boundary_frac: f32Boundary fraction: Boundary state triggered when ‖r‖ > boundary_frac * ρ. Paper default: 0.5 (50% of ρ).
delta_s: f32Slew threshold δ_s for AbruptSlewViolation detection.
Implementations§
Source§impl AdmissibilityEnvelope
impl AdmissibilityEnvelope
Sourcepub const fn with_params(rho: f32, boundary_frac: f32, delta_s: f32) -> Self
pub const fn with_params(rho: f32, boundary_frac: f32, delta_s: f32) -> Self
Construct with custom boundary fraction and slew threshold.
Sourcepub fn effective_rho(&self, platform_multiplier: f32) -> f32
pub fn effective_rho(&self, platform_multiplier: f32) -> f32
Effective radius after applying platform multiplier.
During waveform transitions: multiplier = +∞ → no violation possible.
Sourcepub fn is_violation(&self, norm: f32, platform_multiplier: f32) -> bool
pub fn is_violation(&self, norm: f32, platform_multiplier: f32) -> bool
Returns true if ‖r‖ > ρ_eff (Violation condition).
Sourcepub fn is_boundary_approach(&self, norm: f32, platform_multiplier: f32) -> bool
pub fn is_boundary_approach(&self, norm: f32, platform_multiplier: f32) -> bool
Returns true if ‖r‖ > boundary_frac * ρ_eff (Boundary approach condition).
Sourcepub fn calibrate_from_window(healthy_norms: &[f32]) -> Option<Self>
pub fn calibrate_from_window(healthy_norms: &[f32]) -> Option<Self>
Calibrate envelope from a healthy-window residual norm slice.
Computes μ + 3σ over the provided norms array. This is the Stage III calibration protocol (paper §F.4).
Trait Implementations§
Source§impl Clone for AdmissibilityEnvelope
impl Clone for AdmissibilityEnvelope
Source§fn clone(&self) -> AdmissibilityEnvelope
fn clone(&self) -> AdmissibilityEnvelope
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more