pub struct StationarityRung {
pub label: &'static str,
pub derived_standard: bool,
}Expand description
Which rung of the stationarity ladder produced the bound a refusal was measured against (#2458).
A non-convergence refusal reports |Pg| against a bound, but routes reach
that bound by different machinery, and only one rung — the curvature
resolvability standard √(2·h·τ) — is derived from what a gradient of that
size does to the criterion. The rest are gradient-magnitude substitutes
adopted where the derived standard was unavailable. Without this field, “did
this route hold itself to the derived standard” is an inference from the
numbers rather than something the refusal states, which is what made the
duchon and #2479 adjudications read the ladder out of prose.
The rung enum itself lives in the solver that owns the ladder; this is the neutral projection of it, so the problem layer carries the provenance without importing a solver-specific vocabulary.
Fields§
§label: &'static strStable rung label, e.g. "curvature-resolvability".
derived_standard: boolWhether this rung is the derived resolvability standard rather than a gradient-magnitude substitute.
Trait Implementations§
Source§impl Clone for StationarityRung
impl Clone for StationarityRung
Source§fn clone(&self) -> StationarityRung
fn clone(&self) -> StationarityRung
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for StationarityRung
Source§impl Debug for StationarityRung
impl Debug for StationarityRung
Source§impl Deserialize<'static> for StationarityRung
impl Deserialize<'static> for StationarityRung
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Source§impl Display for StationarityRung
impl Display for StationarityRung
impl Eq for StationarityRung
Source§impl PartialEq for StationarityRung
impl PartialEq for StationarityRung
Source§impl Serialize for StationarityRung
impl Serialize for StationarityRung
impl StructuralPartialEq for StationarityRung
Auto Trait Implementations§
impl Freeze for StationarityRung
impl RefUnwindSafe for StationarityRung
impl Send for StationarityRung
impl Sync for StationarityRung
impl Unpin for StationarityRung
impl UnsafeUnpin for StationarityRung
impl UnwindSafe for StationarityRung
Blanket Implementations§
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.