pub struct SolverOptions { /* private fields */ }Implementations§
Source§impl SolverOptions
impl SolverOptions
pub fn is_valid(&self, error: Pin<&mut CxxString>) -> bool
pub fn set_minimizer_type(self: Pin<&mut Self>, minimizer_type: MinimizerType)
pub fn set_line_search_direction_type( self: Pin<&mut Self>, line_search_direction_type: LineSearchDirectionType, )
pub fn set_line_search_type( self: Pin<&mut Self>, line_search_type: LineSearchType, )
pub fn set_nonlinear_conjugate_gradient_type( self: Pin<&mut Self>, nonlinear_conjugate_gradient_type: NonlinearConjugateGradientType, )
pub fn set_max_lbfgs_rank(self: Pin<&mut Self>, max_rank: i32)
pub fn set_use_approximate_eigenvalue_bfgs_scaling( self: Pin<&mut Self>, yes: bool, )
pub fn set_line_search_interpolation_type( self: Pin<&mut Self>, line_search_interpolation_type: LineSearchInterpolationType, )
pub fn set_min_line_search_step_size(self: Pin<&mut Self>, step_size: f64)
pub fn set_line_search_sufficient_function_decrease( self: Pin<&mut Self>, sufficient_decrease: f64, )
pub fn set_max_line_search_step_contraction( self: Pin<&mut Self>, max_step_contraction: f64, )
pub fn set_min_line_search_step_contraction( self: Pin<&mut Self>, min_step_contraction: f64, )
pub fn set_max_num_line_search_direction_restarts( self: Pin<&mut Self>, max_num_restarts: i32, )
pub fn set_line_search_sufficient_curvature_decrease( self: Pin<&mut Self>, sufficient_curvature_decrease: f64, )
pub fn set_max_line_search_step_expansion( self: Pin<&mut Self>, max_step_expansion: f64, )
pub fn set_trust_region_strategy_type( self: Pin<&mut Self>, trust_region_strategy_type: TrustRegionStrategyType, )
pub fn set_dogleg_type(self: Pin<&mut Self>, dogleg_type: DoglegType)
pub fn set_use_nonmonotonic_steps(self: Pin<&mut Self>, yes: bool)
pub fn set_max_consecutive_nonmonotonic_steps( self: Pin<&mut Self>, max_consecutive_nonmonotonic_steps: i32, )
pub fn set_max_num_iterations(self: Pin<&mut Self>, max_num_iterations: i32)
pub fn set_max_solver_time_in_seconds( self: Pin<&mut Self>, max_solver_time_in_seconds: f64, )
pub fn set_num_threads(self: Pin<&mut Self>, num_threads: i32)
pub fn set_initial_trust_region_radius( self: Pin<&mut Self>, initial_trust_region_radius: f64, )
pub fn set_max_trust_region_radius( self: Pin<&mut Self>, max_trust_region_radius: f64, )
pub fn set_min_trust_region_radius( self: Pin<&mut Self>, min_trust_region_radius: f64, )
pub fn set_min_relative_decrease( self: Pin<&mut Self>, min_relative_decrease: f64, )
pub fn set_min_lm_diagonal(self: Pin<&mut Self>, min_lm_diagonal: f64)
pub fn set_max_lm_diagonal(self: Pin<&mut Self>, max_lm_diagonal: f64)
pub fn set_max_num_consecutive_invalid_steps( self: Pin<&mut Self>, max_num_consecutive_invalid_steps: i32, )
pub fn set_function_tolerance(self: Pin<&mut Self>, function_tolerance: f64)
pub fn set_gradient_tolerance(self: Pin<&mut Self>, gradient_tolerance: f64)
pub fn set_parameter_tolerance(self: Pin<&mut Self>, parameter_tolerance: f64)
pub fn set_linear_solver_type( self: Pin<&mut Self>, linear_solver_type: LinearSolverType, )
pub fn set_preconditioner_type( self: Pin<&mut Self>, preconditioner_type: PreconditionerType, )
pub fn set_visibility_clustering_type( self: Pin<&mut Self>, visibility_clustering_type: VisibilityClusteringType, )
pub fn set_residual_blocks_for_subset_preconditioner( self: Pin<&mut Self>, residual_blocks: &[SharedPtr<ResidualBlockId>], )
pub fn set_dense_linear_algebra_library_type( self: Pin<&mut Self>, dense_linear_algebra_library_type: DenseLinearAlgebraLibraryType, )
pub fn set_sparse_linear_algebra_library_type( self: Pin<&mut Self>, sparse_linear_algebra_library_type: SparseLinearAlgebraLibraryType, )
pub fn set_logging_type(self: Pin<&mut Self>, logging_type: LoggingType)
pub fn set_minimizer_progress_to_stdout(self: Pin<&mut Self>, yes: bool)
pub fn set_trust_region_minimizer_iterations_to_dump( self: Pin<&mut Self>, iterations_to_dump: &[i32], )
pub fn set_trust_region_problem_dump_directory( self: Pin<&mut Self>, directory: Pin<&CxxString>, )
pub fn set_trust_region_problem_dump_format_type( self: Pin<&mut Self>, trust_region_problem_dump_format_type: DumpFormatType, )
pub fn set_check_gradients(self: Pin<&mut Self>, yes: bool)
pub fn set_gradient_check_relative_precision( self: Pin<&mut Self>, gradient_check_relative_precision: f64, )
pub fn set_gradient_check_numeric_derivative_relative_step_size( self: Pin<&mut Self>, gradient_check_numeric_derivative_relative_step_size: f64, )
pub fn set_update_state_every_iteration(self: Pin<&mut Self>, yes: bool)
Trait Implementations§
Source§impl ExternType for SolverOptions
impl ExternType for SolverOptions
impl UniquePtrTarget 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