pub struct SolverOptions {
pub tolerance: Precision,
pub max_iterations: usize,
pub convergence_mode: ConvergenceMode,
pub norm_type: NormType,
pub collect_stats: bool,
pub streaming_interval: usize,
pub initial_guess: Option<Vec<Precision>>,
pub compute_error_bounds: bool,
pub error_bounds_tolerance: Precision,
pub enable_profiling: bool,
pub random_seed: Option<u64>,
}Expand description
Configuration options for solver algorithms.
Fields§
§tolerance: PrecisionConvergence tolerance
max_iterations: usizeMaximum number of iterations
convergence_mode: ConvergenceModeConvergence detection mode
norm_type: NormTypeNorm type for error measurement
collect_stats: boolEnable detailed statistics collection
streaming_interval: usizeStreaming solution interval (0 = no streaming)
initial_guess: Option<Vec<Precision>>Initial guess for the solution (if None, use zero)
compute_error_bounds: boolEnable error bounds computation
error_bounds_tolerance: PrecisionRelative tolerance for error bounds
enable_profiling: boolEnable performance profiling
random_seed: Option<u64>Random seed for stochastic algorithms
Implementations§
Source§impl SolverOptions
impl SolverOptions
Trait Implementations§
Source§impl Clone for SolverOptions
impl Clone for SolverOptions
Source§fn clone(&self) -> SolverOptions
fn clone(&self) -> SolverOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SolverOptions
impl Debug for SolverOptions
Source§impl Default for SolverOptions
impl Default for SolverOptions
Source§impl<'de> Deserialize<'de> for SolverOptions
impl<'de> Deserialize<'de> for SolverOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SolverOptions
impl PartialEq for SolverOptions
Source§impl Serialize for SolverOptions
impl Serialize for SolverOptions
impl StructuralPartialEq for SolverOptions
Auto Trait Implementations§
impl Freeze for SolverOptions
impl RefUnwindSafe for SolverOptions
impl Send for SolverOptions
impl Sync for SolverOptions
impl Unpin for SolverOptions
impl UnwindSafe for SolverOptions
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.