pub struct StructuralTofMultiBankRefinementOptions {
pub limits: RefinementLimits,
pub min_iterations: usize,
pub objective_tolerance: f64,
pub parameter_tolerance: f64,
pub initial_damping: f64,
pub damping_increase: f64,
pub damping_decrease: f64,
pub max_scaled_parameter_step: f64,
pub max_backtracks: usize,
}Expand description
Numerical and bounded-runtime controls for structural multi-bank TOF.
Fields§
§limits: RefinementLimitsHard iteration/evaluation/time/rejection limits.
min_iterations: usizeMinimum accepted iterations before objective convergence.
objective_tolerance: f64Relative accepted objective-change tolerance.
parameter_tolerance: f64Scaled step-norm tolerance.
initial_damping: f64Initial positive Levenberg damping in scaled coordinates.
damping_increase: f64Multiplier applied after an unsuccessful iteration.
damping_decrease: f64Multiplier applied after an accepted iteration.
max_scaled_parameter_step: f64Maximum Euclidean scaled step norm.
max_backtracks: usizeNumber of half-step retries after the full trial.
Implementations§
Source§impl StructuralTofMultiBankRefinementOptions
impl StructuralTofMultiBankRefinementOptions
Sourcepub fn new(
limits: RefinementLimits,
min_iterations: usize,
objective_tolerance: f64,
parameter_tolerance: f64,
initial_damping: f64,
damping_increase: f64,
damping_decrease: f64,
max_scaled_parameter_step: f64,
max_backtracks: usize,
) -> Result<Self, StructuralTofMultiBankRefinementError>
pub fn new( limits: RefinementLimits, min_iterations: usize, objective_tolerance: f64, parameter_tolerance: f64, initial_damping: f64, damping_increase: f64, damping_decrease: f64, max_scaled_parameter_step: f64, max_backtracks: usize, ) -> Result<Self, StructuralTofMultiBankRefinementError>
Construct validated structural TOF numerical controls.
§Errors
Returns StructuralTofMultiBankRefinementError::InvalidOptions for
invalid tolerances, damping, iteration, or step controls.
Sourcepub fn validate(self) -> Result<(), StructuralTofMultiBankRefinementError>
pub fn validate(self) -> Result<(), StructuralTofMultiBankRefinementError>
Revalidate adapter-decoded structural TOF controls.
§Errors
Returns StructuralTofMultiBankRefinementError::InvalidOptions for
invalid fields.
Trait Implementations§
Source§impl Clone for StructuralTofMultiBankRefinementOptions
impl Clone for StructuralTofMultiBankRefinementOptions
Source§fn clone(&self) -> StructuralTofMultiBankRefinementOptions
fn clone(&self) -> StructuralTofMultiBankRefinementOptions
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 StructuralTofMultiBankRefinementOptions
impl StructuralPartialEq for StructuralTofMultiBankRefinementOptions
Auto Trait Implementations§
impl Freeze for StructuralTofMultiBankRefinementOptions
impl RefUnwindSafe for StructuralTofMultiBankRefinementOptions
impl Send for StructuralTofMultiBankRefinementOptions
impl Sync for StructuralTofMultiBankRefinementOptions
impl Unpin for StructuralTofMultiBankRefinementOptions
impl UnsafeUnpin for StructuralTofMultiBankRefinementOptions
impl UnwindSafe for StructuralTofMultiBankRefinementOptions
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
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> ⓘ
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> 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.