Class MaxIter

java.lang.Object
org.apache.commons.math3.optim.MaxIter
All Implemented Interfaces:
OptimizationData

public class MaxIter extends Object implements OptimizationData
Maximum number of iterations performed by an (iterative) algorithm.
Since:
3.1
  • Constructor Details

  • Method Details

    • getMaxIter

      public int getMaxIter()
      Gets the maximum number of evaluations.
      Returns:
      the allowed number of evaluations.
    • unlimited

      public static MaxIter unlimited()
      Factory method that creates instance of this class that represents a virtually unlimited number of iterations.
      Returns:
      a new instance suitable for allowing Integer.MAX_VALUE evaluations.