pub struct TargetDosePlan {
pub target_nats: f64,
pub seed_amplitude: f64,
pub steer: SteerPlan,
pub applied_probe: Option<AppliedDoseObservation>,
pub iterations: usize,
pub readout_kl_radius: Option<f64>,
pub certified_attainable_upper_nats: Option<f64>,
}Expand description
A target output-KL dose on one atom’s chord, returned atomically with the exact activation-space move the caller must apply (gh#2249/#2263).
Fields§
§target_nats: f64The requested dose in nats of KL.
seed_amplitude: f64Closed-form first-order amplitude a0 = sqrt(2 q* / (dgᵀ M dg)), exact in
the quadratic/in-radius regime.
steer: SteerPlanExact applied move at the solved amplitude, including delta, predicted
dose, metric provenance, chart radius, and off-manifold audit.
applied_probe: Option<AppliedDoseObservation>Exact directional local-Fisher dose, effective applied delta, and measured
patched-forward KL at SteerPlan::amplitude. None for the pure
closed-form seed. This never changes the resident metric or its status.
iterations: usizeNumber of patched-forward probes consumed (0 without a callback).
readout_kl_radius: Option<f64>READOUT-KL radius: the largest probed amplitude whose measured KL still
matched its exact directional local-Fisher dose within readout_tol_rel
before the first probed failure. A later accidental match cannot extend
the radius past a failed point. None without a callback or when the
first probe failed.
certified_attainable_upper_nats: Option<f64>Tightest global attainable-dose upper bound certified by any applied
probe in this solve. None means no global envelope was certified.
Trait Implementations§
Source§impl Clone for TargetDosePlan
impl Clone for TargetDosePlan
Source§fn clone(&self) -> TargetDosePlan
fn clone(&self) -> TargetDosePlan
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 TargetDosePlan
impl RefUnwindSafe for TargetDosePlan
impl Send for TargetDosePlan
impl Sync for TargetDosePlan
impl Unpin for TargetDosePlan
impl UnsafeUnpin for TargetDosePlan
impl UnwindSafe for TargetDosePlan
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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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.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.