pub struct ResidualEnvelopeV1 {
pub region_id: String,
pub expected: HashMap<String, f64>,
pub observed: HashMap<String, f64>,
pub residuals: HashMap<String, f64>,
pub max_residual: f64,
pub within_tolerance: bool,
}Expand description
Expected-vs-observed mismatch envelope. Captures the residual between what the kernel expected and what it observed.
Fields§
§region_id: StringRegion this residual applies to.
expected: HashMap<String, f64>Expected values (node_id -> expected output).
observed: HashMap<String, f64>Observed values (node_id -> actual output).
residuals: HashMap<String, f64>Computed residuals (node_id -> |expected - observed|).
max_residual: f64Max residual across all nodes.
within_tolerance: boolWhether the residual is within tolerance.
Trait Implementations§
Source§impl Clone for ResidualEnvelopeV1
impl Clone for ResidualEnvelopeV1
Source§fn clone(&self) -> ResidualEnvelopeV1
fn clone(&self) -> ResidualEnvelopeV1
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 ResidualEnvelopeV1
impl Debug for ResidualEnvelopeV1
Source§impl<'de> Deserialize<'de> for ResidualEnvelopeV1
impl<'de> Deserialize<'de> for ResidualEnvelopeV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResidualEnvelopeV1
impl RefUnwindSafe for ResidualEnvelopeV1
impl Send for ResidualEnvelopeV1
impl Sync for ResidualEnvelopeV1
impl Unpin for ResidualEnvelopeV1
impl UnsafeUnpin for ResidualEnvelopeV1
impl UnwindSafe for ResidualEnvelopeV1
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