Package boofcv.misc
Class ConfigConverge
java.lang.Object
boofcv.misc.ConfigConverge
- All Implemented Interfaces:
Configuration,Serializable
Generic configuration for optimization routines
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleRelative threshold for change in function value between iterations.doubleAbsolute threshold for convergence based on the gradient's norm.intMaximum number of iterations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the configuration is valid.setTo(double ftol, double gtol, int maxIterations) setTo(ConfigConverge src) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
ftol
public double ftolRelative threshold for change in function value between iterations. 0 ≤ ftol ≤ 1. -
gtol
public double gtolAbsolute threshold for convergence based on the gradient's norm. 0 disables test. gtol ≥ 0. -
maxIterations
public int maxIterationsMaximum number of iterations. What is defined as an iteration is implementation specific.
-
-
Constructor Details
-
ConfigConverge
public ConfigConverge(double ftol, double gtol, int maxIterations) -
ConfigConverge
-
ConfigConverge
public ConfigConverge()
-
-
Method Details
-
setTo
-
setTo
-
checkValidity
public void checkValidity()Description copied from interface:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-