Package org.drip.function.rdtor1solver
Class ConvergenceControl
java.lang.Object
org.drip.function.rdtor1solver.ConvergenceControl
- Direct Known Subclasses:
InteriorPointBarrierControl
public class ConvergenceControl
extends java.lang.Object
ConvergenceControl contains the Rd To R1 Convergence Control/Tuning
Parameters.
- Module = Numerical Core Module
- Library = Numerical Optimizer
- Project = Function
- Package = Rd To R1 Solver
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static intOBJECTIVE_FUNCTION_SEQUENCE_CONVERGENCESolve Using the Convergence of the Objective Function Realizationstatic intVARIATE_CONSTRAINT_SEQUENCE_CONVERGENCESolve Using the Convergence of the Variate/Constraint Multiplier Tuple Realization -
Constructor Summary
Constructors Constructor Description ConvergenceControl(int convergenceType, double relativeTolerance, double absoluteTolerance, int finderStepCount)ConvergenceControl Constructor -
Method Summary
Modifier and Type Method Description doubleabsoluteTolerance()Retrieve the Absolute ToleranceintconvergenceType()Retrieve the Convergence TypeintfinderStepCount()Retrieve the Number of Finder StepsdoublerelativeTolerance()Retrieve the Relative Tolerancestatic ConvergenceControlStandard()Construct a Standard ConvergenceControl InstanceMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
OBJECTIVE_FUNCTION_SEQUENCE_CONVERGENCE
public static final int OBJECTIVE_FUNCTION_SEQUENCE_CONVERGENCESolve Using the Convergence of the Objective Function Realization- See Also:
- Constant Field Values
-
VARIATE_CONSTRAINT_SEQUENCE_CONVERGENCE
public static final int VARIATE_CONSTRAINT_SEQUENCE_CONVERGENCESolve Using the Convergence of the Variate/Constraint Multiplier Tuple Realization- See Also:
- Constant Field Values
-
-
Constructor Details
-
ConvergenceControl
public ConvergenceControl(int convergenceType, double relativeTolerance, double absoluteTolerance, int finderStepCount) throws java.lang.ExceptionConvergenceControl Constructor- Parameters:
convergenceType- The Convergence TyperelativeTolerance- The Objective Function Relative ToleranceabsoluteTolerance- The Objective Function Absolute TolerancefinderStepCount- The Number of the Fixed Point Finder Steps- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
Standard
Construct a Standard ConvergenceControl Instance- Returns:
- The Standard ConvergenceControl Instance
-
convergenceType
public int convergenceType()Retrieve the Convergence Type- Returns:
- The Convergence Type
-
finderStepCount
public int finderStepCount()Retrieve the Number of Finder Steps- Returns:
- The Number of Finder Steps
-
relativeTolerance
public double relativeTolerance()Retrieve the Relative Tolerance- Returns:
- The Relative Tolerance
-
absoluteTolerance
public double absoluteTolerance()Retrieve the Absolute Tolerance- Returns:
- The Absolute Tolerance
-