gov.sandia.cognition.learning.algorithm.minimization.line.interpolator
Class AbstractLineBracketInterpolator<EvaluatorType extends Evaluator<Double,Double>>

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.learning.algorithm.minimization.line.interpolator.AbstractLineBracketInterpolator<EvaluatorType>
Type Parameters:
EvaluatorType - Type of Evaluator that this interpolator can use
All Implemented Interfaces:
LineBracketInterpolator<EvaluatorType>, CloneableSerializable, Serializable, Cloneable
Direct Known Subclasses:
AbstractLineBracketInterpolatorPolynomial, LineBracketInterpolatorBrent, LineBracketInterpolatorGoldenSection

public abstract class AbstractLineBracketInterpolator<EvaluatorType extends Evaluator<Double,Double>>
extends AbstractCloneableSerializable
implements LineBracketInterpolator<EvaluatorType>

Partial implementation of LinearBracketInterpolator

Since:
2.1
Author:
Kevin R. Dixon
See Also:
Serialized Form

Field Summary
static double DEFAULT_TOLERANCE
          Default collinearity or identity tolerance, 1.0E-6
 
Constructor Summary
AbstractLineBracketInterpolator()
          Default constructor
AbstractLineBracketInterpolator(double tolerance)
          Creates a new instance of AbstractLineBracketInterpolator
 
Method Summary
 double getTolerance()
          Gets the tolerance of the interpolator to collinear or identical points, typically 1e-6, must be greater than 0.0.
 void setTolerance(double tolerance)
          Setter for tolerance
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.learning.algorithm.minimization.line.interpolator.LineBracketInterpolator
findMinimum, hasSufficientPoints
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Field Detail

DEFAULT_TOLERANCE

public static final double DEFAULT_TOLERANCE
Default collinearity or identity tolerance, 1.0E-6

See Also:
Constant Field Values
Constructor Detail

AbstractLineBracketInterpolator

public AbstractLineBracketInterpolator()
Default constructor


AbstractLineBracketInterpolator

public AbstractLineBracketInterpolator(double tolerance)
Creates a new instance of AbstractLineBracketInterpolator

Parameters:
tolerance - Tolerance of the interpolator to collinear or identical points
Method Detail

getTolerance

public double getTolerance()
Description copied from interface: LineBracketInterpolator
Gets the tolerance of the interpolator to collinear or identical points, typically 1e-6, must be greater than 0.0.

Specified by:
getTolerance in interface LineBracketInterpolator<EvaluatorType extends Evaluator<Double,Double>>
Returns:
Tolerance of the interpolator

setTolerance

public void setTolerance(double tolerance)
Setter for tolerance

Parameters:
tolerance - Tolerance of the interpolator to collinear or identical points