Package gov.nih.mipav.model.algorithms
Class CeresSolver.LevenbergMarquardtStrategy
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.TrustRegionStrategy
-
- gov.nih.mipav.model.algorithms.CeresSolver.LevenbergMarquardtStrategy
-
- Enclosing class:
- CeresSolver
class CeresSolver.LevenbergMarquardtStrategy extends CeresSolver.TrustRegionStrategy
-
-
Field Summary
Fields Modifier and Type Field Description private double
decrease_factor_
private java.util.Vector<java.lang.Double>
diagonal_
private CeresSolver.LinearSolver
linear_solver_
private java.util.Vector<java.lang.Double>
lm_diagonal_
private double
max_diagonal_
private double
max_radius_
private double
min_diagonal_
private double
radius_
private boolean
reuse_diagonal_
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.TrustRegionStrategy
options, perSolveOptions, summary
-
-
Constructor Summary
Constructors Constructor Description LevenbergMarquardtStrategy(CeresSolver.TrustRegionStrategyOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CeresSolver.TrustRegionStrategySummary
ComputeStep(CeresSolver.TrustRegionStrategyPerSolveOptions per_solve_options, CeresSolver.SparseMatrix jacobian, double[] residuals, double[] step)
double
Radius()
void
StepAccepted(double step_quality)
void
StepIsInvalid()
void
StepRejected(double step_quality)
-
-
-
Field Detail
-
linear_solver_
private CeresSolver.LinearSolver linear_solver_
-
radius_
private double radius_
-
max_radius_
private double max_radius_
-
min_diagonal_
private double min_diagonal_
-
max_diagonal_
private double max_diagonal_
-
decrease_factor_
private double decrease_factor_
-
reuse_diagonal_
private boolean reuse_diagonal_
-
diagonal_
private java.util.Vector<java.lang.Double> diagonal_
-
lm_diagonal_
private java.util.Vector<java.lang.Double> lm_diagonal_
-
-
Constructor Detail
-
LevenbergMarquardtStrategy
public LevenbergMarquardtStrategy(CeresSolver.TrustRegionStrategyOptions options)
-
-
Method Detail
-
ComputeStep
public CeresSolver.TrustRegionStrategySummary ComputeStep(CeresSolver.TrustRegionStrategyPerSolveOptions per_solve_options, CeresSolver.SparseMatrix jacobian, double[] residuals, double[] step)
- Specified by:
ComputeStep
in classCeresSolver.TrustRegionStrategy
-
StepAccepted
public void StepAccepted(double step_quality)
- Specified by:
StepAccepted
in classCeresSolver.TrustRegionStrategy
-
StepRejected
public void StepRejected(double step_quality)
- Specified by:
StepRejected
in classCeresSolver.TrustRegionStrategy
-
StepIsInvalid
public void StepIsInvalid()
- Specified by:
StepIsInvalid
in classCeresSolver.TrustRegionStrategy
-
Radius
public double Radius()
- Specified by:
Radius
in classCeresSolver.TrustRegionStrategy
-
-