Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-807

Allow for the use of Incrementor.MaxCountExceededCallback in IterationManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.0, 3.1
    • None

    Description

      IterationManager uses Incrementor for the iterations book-keeping. When the maximum number of iterations is reached, the default behavior is to throw a MaxCountExceededException unless a MaxCountExceededCallback was passed to the constructor of Incrementor.

      In the current implementation of IterationManager, this feature is hidden. It is proposed to add a new constructor IterationManager(Incrementor), which would permit the use of call-back methods through the use of appropriately initialized incrementors.

      Attachments

        Activity

          People

            celestin Sebastien Brisard
            celestin Sebastien Brisard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: