Class Tolerance
- java.lang.Object
-
- org.apache.commons.math4.legacy.optim.Tolerance
-
- All Implemented Interfaces:
OptimizationData
- Direct Known Subclasses:
LineSearchTolerance
public class Tolerance extends Object implements OptimizationData
Default tolerances values.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description Tolerance(double relative, double absolute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAbsoluteTolerance()
double
getRelativeTolerance()
-
-
-
Constructor Detail
-
Tolerance
public Tolerance(double relative, double absolute)
- Parameters:
relative
- Relative tolerance.absolute
- Abolute tolerance.
-
-
Method Detail
-
getRelativeTolerance
public double getRelativeTolerance()
- Returns:
- the retlative tolerance.
-
getAbsoluteTolerance
public double getAbsoluteTolerance()
- Returns:
- the absolute tolerance.
-
-