Skip to main content

AdmissibilityEnvelope

Struct AdmissibilityEnvelope 

Source
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: f32

Base envelope radius ρ = μ_healthy + 3σ_healthy.

§boundary_frac: f32

Boundary fraction: Boundary state triggered when ‖r‖ > boundary_frac * ρ. Paper default: 0.5 (50% of ρ).

§delta_s: f32

Slew threshold δ_s for AbruptSlewViolation detection.

Implementations§

Source§

impl AdmissibilityEnvelope

Source

pub const fn new(rho: f32) -> Self

Construct envelope from calibrated radius ρ.

Source

pub const fn with_params(rho: f32, boundary_frac: f32, delta_s: f32) -> Self

Construct with custom boundary fraction and slew threshold.

Source

pub fn effective_rho(&self, platform_multiplier: f32) -> f32

Effective radius after applying platform multiplier.

During waveform transitions: multiplier = +∞ → no violation possible.

Source

pub fn is_violation(&self, norm: f32, platform_multiplier: f32) -> bool

Returns true if ‖r‖ > ρ_eff (Violation condition).

Source

pub fn is_boundary_approach(&self, norm: f32, platform_multiplier: f32) -> bool

Returns true if ‖r‖ > boundary_frac * ρ_eff (Boundary approach condition).

Source

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

Source§

fn clone(&self) -> AdmissibilityEnvelope

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for AdmissibilityEnvelope

Source§

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

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

impl PartialEq for AdmissibilityEnvelope

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for AdmissibilityEnvelope

Source§

impl StructuralPartialEq for AdmissibilityEnvelope

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.