Interface StopCondition

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isStopped​(Vector x, double... information)
      This is called after each iteration to determine whether the termination conditions are met, e.g., convergence.
    • Method Detail

      • isStopped

        boolean isStopped​(Vector x,
                          double... information)
        This is called after each iteration to determine whether the termination conditions are met, e.g., convergence.
        Parameters:
        x - the current state of the algorithm
        information - auxiliary information, e.g., the energy at a given state
        Returns:
        true if the iteration should stop