Package gov.nih.mipav.model.algorithms
Class CeresSolver.LineSearch
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.LineSearch
-
- Direct Known Subclasses:
CeresSolver.ArmijoLineSearch
,CeresSolver.WolfeLineSearch
- Enclosing class:
- CeresSolver
abstract class CeresSolver.LineSearch extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private CeresSolver.LineSearchOptions
options_
-
Constructor Summary
Constructors Constructor Description LineSearch(CeresSolver.LineSearchOptions options)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
DoSearch(double step_size_estimate, double initial_cost, double initial_gradient, CeresSolver.LineSearchSummary summary)
protected double
InterpolatingPolynomialMinimizingStepSize(CeresSolver.LineSearchInterpolationType interpolation_type, CeresSolver.FunctionSample lowerbound, CeresSolver.FunctionSample previous, CeresSolver.FunctionSample current, double min_step_size, double max_step_size)
CeresSolver.LineSearchOptions
options()
void
Search(double step_size_estimate, double initial_cost, double initial_gradient, CeresSolver.LineSearchSummary summary)
-
-
-
Field Detail
-
options_
private CeresSolver.LineSearchOptions options_
-
-
Constructor Detail
-
LineSearch
public LineSearch(CeresSolver.LineSearchOptions options)
-
-
Method Detail
-
DoSearch
public abstract void DoSearch(double step_size_estimate, double initial_cost, double initial_gradient, CeresSolver.LineSearchSummary summary)
-
options
public CeresSolver.LineSearchOptions options()
-
Search
public void Search(double step_size_estimate, double initial_cost, double initial_gradient, CeresSolver.LineSearchSummary summary)
-
InterpolatingPolynomialMinimizingStepSize
protected double InterpolatingPolynomialMinimizingStepSize(CeresSolver.LineSearchInterpolationType interpolation_type, CeresSolver.FunctionSample lowerbound, CeresSolver.FunctionSample previous, CeresSolver.FunctionSample current, double min_step_size, double max_step_size)
-
-