Class UtilOptimize

java.lang.Object
org.ddogleg.optimization.UtilOptimize

public class UtilOptimize extends Object
Performs common optimization tasks. Such as iterating until convergence.
  • Constructor Details

    • UtilOptimize

      public UtilOptimize()
  • Method Details

    • 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 algorithm
      maxSteps - 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()