org.ddogleg.optimization
Class UtilOptimize
- java.lang.Object
-
- org.ddogleg.optimization.UtilOptimize
-
public class UtilOptimize extends java.lang.ObjectPerforms common optimization tasks. Such as iterating until convergence.
-
-
Constructor Summary
Constructors Constructor and Description UtilOptimize()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static booleanprocess(IterativeOptimization search, int maxSteps)Iterate until the line search converges or the maximum number of iterations has been exceeded.static booleanstep(IterativeOptimization search)Performs a single step by iterating until the parameters are updated.
-
-
-
Method Detail
-
process
public static boolean process(IterativeOptimization search, int maxSteps)
Iterate until the line search converges or the maximum number of iterations has been exceeded. The maximum number of steps is specified. A step is defined as the number of times the optimization parameters are changed.- Parameters:
search- Search algorithmmaxSteps- Maximum number of steps.- Returns:
- Value returned by
IterativeOptimization.iterate()
-
step
public static boolean step(IterativeOptimization search)
Performs a single step by iterating until the parameters are updated.- Parameters:
search- Search algorithm- Returns:
- Value returned by
IterativeOptimization.iterate()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG