pub struct AdmmIterationMetrics { /* private fields */ }Expand description
ADMM consensus metrics accumulated over every active detector-field mode in one complete iteration.
Implementations§
Source§impl AdmmIterationMetrics
impl AdmmIterationMetrics
Sourcepub fn primal_residual_rms(&self) -> Option<f64>
pub fn primal_residual_rms(&self) -> Option<f64>
Returns the root-mean-square consensus residual, or None before any mode is visited.
Sourcepub fn dual_residual_rms(&self) -> Option<f64>
pub fn dual_residual_rms(&self) -> Option<f64>
Returns the penalty-scaled RMS auxiliary-field change, or None when empty.
Trait Implementations§
Source§impl AlgorithmIterationMetrics for AdmmIterationMetrics
impl AlgorithmIterationMetrics for AdmmIterationMetrics
Source§fn merge(&mut self, other: Self)
fn merge(&mut self, other: Self)
Deterministically accumulates metrics from another batch in schedule order.
Source§fn append_records(
&self,
iteration: usize,
output: &mut Vec<AlgorithmMetricRecord>,
)
fn append_records( &self, iteration: usize, output: &mut Vec<AlgorithmMetricRecord>, )
Appends stable scalar records for a one-based completed
iteration.Source§impl Clone for AdmmIterationMetrics
impl Clone for AdmmIterationMetrics
Source§fn clone(&self) -> AdmmIterationMetrics
fn clone(&self) -> AdmmIterationMetrics
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 AdmmIterationMetrics
impl Debug for AdmmIterationMetrics
Source§impl Default for AdmmIterationMetrics
impl Default for AdmmIterationMetrics
Source§fn default() -> AdmmIterationMetrics
fn default() -> AdmmIterationMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AdmmIterationMetrics
impl RefUnwindSafe for AdmmIterationMetrics
impl Send for AdmmIterationMetrics
impl Sync for AdmmIterationMetrics
impl Unpin for AdmmIterationMetrics
impl UnsafeUnpin for AdmmIterationMetrics
impl UnwindSafe for AdmmIterationMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more