pub struct LegEndpoints {
pub at_entry: f64,
pub at_target: f64,
}Expand description
The endpoints of one coupled annealing leg, in path-parameter terms.
at_entry is the value at s = 1 (heavy-smoothing regime); at_target
is the value at s = 0 (real objective). Interpolation is in the leg’s
own natural geometry (log-space for ρ and τ, linear-in-weight for the
isometry gauge, matching each schedule’s current_* law).
Fields§
§at_entry: f64Value at s = 1: the smoothing-extreme entry regime.
at_target: f64Value at s = 0: the real-objective target.
Implementations§
Source§impl LegEndpoints
impl LegEndpoints
Sourcepub fn new(at_entry: f64, at_target: f64) -> Self
pub fn new(at_entry: f64, at_target: f64) -> Self
Construct from an entry value and a target value.
Sourcepub fn at(&self, s: f64) -> f64
pub fn at(&self, s: f64) -> f64
Linear interpolation in the leg’s natural coordinate at path parameter
s ∈ [0, 1]: s = 1 → at_entry, s = 0 → at_target. The caller passes
values already in the leg’s natural geometry (e.g. log τ, log λ), so a
plain convex blend is the right law and matches the schedules’
current_* interpolation.
Trait Implementations§
Source§impl Clone for LegEndpoints
impl Clone for LegEndpoints
Source§fn clone(&self) -> LegEndpoints
fn clone(&self) -> LegEndpoints
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 LegEndpoints
Auto Trait Implementations§
impl Freeze for LegEndpoints
impl RefUnwindSafe for LegEndpoints
impl Send for LegEndpoints
impl Sync for LegEndpoints
impl Unpin for LegEndpoints
impl UnsafeUnpin for LegEndpoints
impl UnwindSafe for LegEndpoints
Blanket Implementations§
impl<T> Allocation 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,
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.