cc.mallet.optimize
Class GradientBracketLineOptimizer

java.lang.Object
  extended by cc.mallet.optimize.GradientBracketLineOptimizer
All Implemented Interfaces:
LineOptimizer

public class GradientBracketLineOptimizer
extends java.lang.Object
implements LineOptimizer


Nested Class Summary
 
Nested classes/interfaces inherited from interface cc.mallet.optimize.LineOptimizer
LineOptimizer.ByGradient
 
Constructor Summary
GradientBracketLineOptimizer(Optimizable.ByGradientValue function)
           
 
Method Summary
 double optimize(double[] line, double initialStep)
          Returns the last step size used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientBracketLineOptimizer

public GradientBracketLineOptimizer(Optimizable.ByGradientValue function)
Method Detail

optimize

public double optimize(double[] line,
                       double initialStep)
Description copied from interface: LineOptimizer
Returns the last step size used.

Specified by:
optimize in interface LineOptimizer