Class StopCriterionConfigurator


  • public class StopCriterionConfigurator
    extends Configurator<StopCriterion>
    Base class for all stop criterion configurator implementations
    Author:
    markr
    • Constructor Detail

      • StopCriterionConfigurator

        public StopCriterionConfigurator()
        Constructor
    • Method Detail

      • getMaxIterations

        public int getMaxIterations()
        Return the maximum allowable number of iterations
        Returns:
        the maximum allowable number of iterations
      • setMaxIterations

        public void setMaxIterations​(int maxIterations)
        Set the maximum allowable number of iterations
        Parameters:
        maxIterations - the maximum allowable number of iterations
      • getEpsilon

        public double getEpsilon()
        Return the epsilon of this stopping criterion
        Returns:
        the epsilon of this stopping criterion
      • setEpsilon

        public void setEpsilon​(double epsilon)
        Set the epsilon of this stopping criterion
        Parameters:
        epsilon - the epsilon of this stopping criterion