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

Allow for the use of Incrementor.MaxCountExceededCallback in IterationManager

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.0, 3.1
    • Labels:

      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

            • Assignee:
              celestin S├ębastien Brisard
              Reporter:
              celestin S├ębastien Brisard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: