public class VectorizedBackTrackLineSearch extends Object implements LineOptimizerMatrix
LineOptimizerMatrix.ByGradient
Constructor and Description |
---|
VectorizedBackTrackLineSearch(OptimizableByGradientValueMatrix optimizable) |
Modifier and Type | Method and Description |
---|---|
double |
optimize(org.jblas.DoubleMatrix line,
double initialStep)
Returns the last step size used.
|
void |
setAbsTolx(double tolx)
Sets the tolerance of absolute diff in function value.
|
void |
setRelTolx(double tolx)
Sets the tolerance of relative diff in function value.
|
public VectorizedBackTrackLineSearch(OptimizableByGradientValueMatrix optimizable)
public void setRelTolx(double tolx)
public void setAbsTolx(double tolx)
public double optimize(org.jblas.DoubleMatrix line, double initialStep)
LineOptimizerMatrix
optimize
in interface LineOptimizerMatrix
Copyright © 2014. All Rights Reserved.