pub struct CoupledSchedules {
pub rho_entry: Array1<f64>,
pub rho_target: Array1<f64>,
pub rho_bounds_upper: Array1<f64>,
pub temperature: GumbelTemperatureSchedule,
pub isometry: ScalarWeightSchedule,
}Expand description
The coupled schedule state that ContinuationPath owns. Each leg is the
concrete schedule object the rest of the codebase already advances; the
path holds them so they can only ever move together.
Fields§
§rho_entry: Array1<f64>ρ-anneal endpoints, per-component in ρ-space (one entry per
smoothing parameter). The entry vector is the oversmoothed ρ₀; the
target is ρ*. The actual descent is executed by the ρ-anneal spine
([fit_with_continuation]); these endpoints fix where s places the
spine’s target waypoint along the coupled walk.
rho_target: Array1<f64>ρ* — the real-objective smoothing vector at s = 0.
rho_bounds_upper: Array1<f64>Legal upper bound on ρ (the spine clamps ρ₀ into this box).
temperature: GumbelTemperatureScheduleAssignment-temperature schedule (τ leg). Consumed, not re-implemented:
the path reads tau_start / tau_min as its τ endpoints and advances
the schedule in lockstep with s.
isometry: ScalarWeightScheduleIsometry-weight schedule (gauge leg). Consumed: w_start / w_end are
the isometry endpoints; advanced in lockstep with s.
Implementations§
Source§impl CoupledSchedules
impl CoupledSchedules
Sourcepub fn temperature_endpoints(&self) -> LegEndpoints
pub fn temperature_endpoints(&self) -> LegEndpoints
τ endpoints as LegEndpoints in the schedule’s natural coordinate.
s = 1 → tau_start (diffuse), s = 0 → tau_min (sharp).
Sourcepub fn isometry_endpoints(&self) -> LegEndpoints
pub fn isometry_endpoints(&self) -> LegEndpoints
Isometry-weight endpoints. s = 1 → w_start (loose), s = 0 →
w_end (tight).
Sourcepub fn scalar_targets_at(&self, s: f64) -> ScalarLegTargets
pub fn scalar_targets_at(&self, s: f64) -> ScalarLegTargets
The coupled lockstep target value of every scalar leg at path parameter
s. ρ is a vector and rides the spine, so it is not returned here; the
two scalar legs (τ, isometry weight) are.
Sourcepub fn rho_target_at(&self, s: f64) -> Array1<f64>
pub fn rho_target_at(&self, s: f64) -> Array1<f64>
The ρ target the spine should anneal toward at path parameter s:
a convex blend (per component) of the oversmoothed entry ρ₀ and ρ*.
At s = 1 this is ρ₀ itself (so the spine’s own oversmoothing offset
stacks the path into the deepest contraction); at s = 0 it is ρ*.
Trait Implementations§
Source§impl Clone for CoupledSchedules
impl Clone for CoupledSchedules
Source§fn clone(&self) -> CoupledSchedules
fn clone(&self) -> CoupledSchedules
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CoupledSchedules
impl RefUnwindSafe for CoupledSchedules
impl Send for CoupledSchedules
impl Sync for CoupledSchedules
impl Unpin for CoupledSchedules
impl UnsafeUnpin for CoupledSchedules
impl UnwindSafe for CoupledSchedules
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.