pub struct AlgorithmBuilder {
pub linear_solver: LinearSolverChoice,
pub mu_strategy: MuStrategyChoice,
pub mu_oracle: MuOracleKind,
pub hessian_approximation: HessianApproxChoice,
pub limited_memory_update_type: UpdateType,
pub line_search_method: LineSearchChoice,
pub warm_start_init_point: bool,
pub conv_check: ConvCheckOptions,
pub mu: MuOptions,
pub line_search: LineSearchOptions,
pub output: OutputOptions,
pub warm: WarmStartOptions,
}Fields§
§linear_solver: LinearSolverChoice§mu_strategy: MuStrategyChoice§mu_oracle: MuOracleKindSelector forwarded to AdaptiveMuUpdate when
mu_strategy = Adaptive. Ignored for Monotone. Defaults to
QualityFunction per upstream’s RegisterOptions default.
hessian_approximation: HessianApproxChoice§limited_memory_update_type: UpdateType§line_search_method: LineSearchChoice§warm_start_init_point: bool§conv_check: ConvCheckOptions§mu: MuOptions§line_search: LineSearchOptions§output: OutputOptions§warm: WarmStartOptionsImplementations§
Source§impl AlgorithmBuilder
impl AlgorithmBuilder
pub fn new() -> Self
Sourcepub fn build(&self) -> AlgorithmBundle
pub fn build(&self) -> AlgorithmBundle
Assemble the strategy bundle without a search-direction calculator. Used by structural unit tests that don’t want to pull in a linear-solver backend.
Sourcepub fn build_with_backend(
&self,
factory: LinearBackendFactory,
) -> AlgorithmBundle
pub fn build_with_backend( &self, factory: LinearBackendFactory, ) -> AlgorithmBundle
Same as Self::build but also constructs the
SymLinearSolver → AugSystemSolver → PdFullSpaceSolver → PdSearchDirCalc chain via the supplied factory.
Trait Implementations§
Source§impl Clone for AlgorithmBuilder
impl Clone for AlgorithmBuilder
Source§fn clone(&self) -> AlgorithmBuilder
fn clone(&self) -> AlgorithmBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlgorithmBuilder
impl Debug for AlgorithmBuilder
Auto Trait Implementations§
impl Freeze for AlgorithmBuilder
impl RefUnwindSafe for AlgorithmBuilder
impl Send for AlgorithmBuilder
impl Sync for AlgorithmBuilder
impl Unpin for AlgorithmBuilder
impl UnsafeUnpin for AlgorithmBuilder
impl UnwindSafe for AlgorithmBuilder
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> 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