Documentation of 'org.apache.commons.math3.optimization.AbstractConvergenceChecker' Java class
AbstractConvergenceChecker
org.apache.commons.math3.optimization

Class AbstractConvergenceChecker<PAIR>

    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractConvergenceChecker()
      Deprecated. 
      in 3.1 (to be removed in 4.0). Convergence thresholds are problem-dependent. As this class is intended for users who want to set their own convergence criterion instead of relying on an algorithm's default procedure, they should also set the thresholds appropriately (cf. MATH-798).
      AbstractConvergenceChecker(double relativeThreshold, double absoluteThreshold)
      Deprecated. 
      Build an instance with a specified thresholds.
    • Constructor Detail

      • AbstractConvergenceChecker

        @Deprecated
        public AbstractConvergenceChecker()
        Deprecated. in 3.1 (to be removed in 4.0). Convergence thresholds are problem-dependent. As this class is intended for users who want to set their own convergence criterion instead of relying on an algorithm's default procedure, they should also set the thresholds appropriately (cf. MATH-798).
        Build an instance with default thresholds.
      • AbstractConvergenceChecker

        public AbstractConvergenceChecker(double relativeThreshold,
                                          double absoluteThreshold)
        Deprecated. 
        Build an instance with a specified thresholds.
        Parameters:
        relativeThreshold - relative tolerance threshold
        absoluteThreshold - absolute tolerance threshold
    • Method Detail

      • getRelativeThreshold

        public double getRelativeThreshold()
        Deprecated. 
        Returns:
        the relative threshold.
      • getAbsoluteThreshold

        public double getAbsoluteThreshold()
        Deprecated. 
        Returns:
        the absolute threshold.
      • converged

        public abstract boolean converged(int iteration,
                                          PAIR previous,
                                          PAIR current)
        Deprecated. 
        Check if the optimization algorithm has converged.
        Specified by:
        converged in interface ConvergenceChecker<PAIR>
        Parameters:
        iteration - Current iteration.
        previous - Best point in the previous iteration.
        current - Best point in the current iteration.
        Returns:
        true if the algorithm is considered to have converged.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.