pub struct SolverOptions {
pub ordering: OrderingStrategy,
pub threshold: f64,
pub fallback: AptpFallback,
pub par: Par,
pub nemin: usize,
pub small_leaf_threshold: usize,
}Expand description
Configuration for the one-shot solve.
Fields§
§ordering: OrderingStrategyFill-reducing ordering strategy.
threshold: f64APTP pivot threshold. Default: 0.01.
fallback: AptpFallbackFallback strategy. Default: BunchKaufman.
par: ParParallelism control for factorization and solve. Default: Par::Seq.
nemin: usizeMinimum supernode size for amalgamation. Default: 32.
Setting nemin = 1 disables amalgamation.
small_leaf_threshold: usizeFront-size threshold for small-leaf subtree fast path.
Default: 256. Set to 0 to disable. See FactorOptions::small_leaf_threshold.
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
Auto Trait Implementations§
impl Freeze for SolverOptions
impl RefUnwindSafe for SolverOptions
impl Send for SolverOptions
impl Sync for SolverOptions
impl Unpin for SolverOptions
impl UnsafeUnpin 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<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
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>
Converts
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>
Converts
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 more