Documentation of 'org.ddogleg.optimization.IterativeOptimization' Java class
IterativeOptimization
org.ddogleg.optimization

Interface IterativeOptimization

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getWarning()
      Provides feed back if something went wrong, but still produced a solution.
      boolean isConverged()
      Indicates if iteration stopped due to convergence or not.
      boolean isUpdated()
      True if the parameter(s) being optimized have been updated
      boolean iterate()
      Updates the search.
    • Method Detail

      • iterate

        boolean iterate()
                 throws OptimizationException

        Updates the search. If the search has terminated true is returned. After the search has terminated invoke isConverged() to see if a solution has been converged to or if it stopped for some other reason.

        NOTE: The optimization parameters might not be modified after iterate() is called. An internal book keeping step might have been done. To see if parameters have changed call isUpdated().

        Returns:
        true if it has converged or that no more progress can be made.
        Throws:
        OptimizationException
      • isUpdated

        boolean isUpdated()
        True if the parameter(s) being optimized have been updated
        Returns:
        True if parameters have been updated
      • isConverged

        boolean isConverged()
        Indicates if iteration stopped due to convergence or not.
        Returns:
        True if iteration stopped because it converged.
      • getWarning

        java.lang.String getWarning()
        Provides feed back if something went wrong, but still produced a solution. If there is no message then null is returned. The meaning and type of messages are implementation specific.
        Returns:
        Additional info on the computed solution.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.