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

General framework for iterative algorithms

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.0
    • 4.0
    • None

    Description

      Following the thread Monitoring iterative algorithms, here is a first attempt at defining a general enough framework for iterative algorithms at large. At the moment, the classes provide support for

      • maximum number of iterations
      • events handling
        • initialization event (prior to entering the main loop),
        • iteration event (after completion of one iteration),
        • termination event (after termination of the main loop).

      These classes do not yet provide support for a stopping criterion.
      Some points worth to note

      • For the time being, the classes are part of the o.a.c.m.linear package.
      • For the time being, IterativeAlgorithm.incrementIterationCount() throws a TooManyEvaluationsException. If the proposed new feature is integrated into CM, then a proper TooManyIterationsException should be created, from which the former could derive.

      Attachments

        1. iteration-manager.zip
          3 kB
          Sebastien Brisard
        2. iterative-algorithm.zip
          2 kB
          Sebastien Brisard
        3. iterative-algorithm.zip
          2 kB
          Sebastien Brisard

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: