|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.optimize.BackTrackLineSearch
public class BackTrackLineSearch
Constructor Summary | |
---|---|
BackTrackLineSearch(Optimizable.ByGradientValue optimizable)
|
Method Summary | |
---|---|
double |
optimize(double[] 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BackTrackLineSearch(Optimizable.ByGradientValue optimizable)
Method Detail |
---|
public void setRelTolx(double tolx)
public void setAbsTolx(double tolx)
public double optimize(double[] line, double initialStep)
LineOptimizer.ByGradient
optimize
in interface LineOptimizer.ByGradient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |