pub struct EnvelopeUpdateResult {
pub rho_eff: f32,
pub mode: EnvelopeMode,
pub grammar_trust: GrammarTrustScalar,
pub in_boundary_band: bool,
pub above_envelope: bool,
pub recurrent_boundary_grazing: bool,
}Expand description
Result of one RegimeEnvelope::update() call.
Fields§
§rho_eff: f32Current effective envelope radius after mode update.
mode: EnvelopeModeMode that produced this result.
grammar_trust: GrammarTrustScalarGrammar trust scalar T ∈ [0, 1].
in_boundary_band: boolTrue if the residual norm falls within the boundary band.
Boundary band = (ρ_eff − 4%·ρ_eff, ρ_eff].
above_envelope: boolTrue if the residual norm is above ρ_eff (envelope violation).
recurrent_boundary_grazing: boolTrue if ≥ 2 consecutive samples were in the boundary band.
Corroborates ReasonCode::RecurrentBoundaryGrazing in the grammar layer.
Trait Implementations§
Source§impl Clone for EnvelopeUpdateResult
impl Clone for EnvelopeUpdateResult
Source§fn clone(&self) -> EnvelopeUpdateResult
fn clone(&self) -> EnvelopeUpdateResult
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 moreSource§impl Debug for EnvelopeUpdateResult
impl Debug for EnvelopeUpdateResult
impl Copy for EnvelopeUpdateResult
Auto Trait Implementations§
impl Freeze for EnvelopeUpdateResult
impl RefUnwindSafe for EnvelopeUpdateResult
impl Send for EnvelopeUpdateResult
impl Sync for EnvelopeUpdateResult
impl Unpin for EnvelopeUpdateResult
impl UnsafeUnpin for EnvelopeUpdateResult
impl UnwindSafe for EnvelopeUpdateResult
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