Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56956770C for ; Wed, 14 Sep 2011 11:23:32 +0000 (UTC) Received: (qmail 18194 invoked by uid 500); 14 Sep 2011 11:23:31 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 18018 invoked by uid 500); 14 Sep 2011 11:23:31 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 18003 invoked by uid 99); 14 Sep 2011 11:23:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 11:23:31 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 11:23:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A96F39724E for ; Wed, 14 Sep 2011 11:23:09 +0000 (UTC) Date: Wed, 14 Sep 2011 11:23:09 +0000 (UTC) From: =?utf-8?Q?S=C3=A9bastien_Brisard_=28JIRA=29?= To: issues@commons.apache.org Message-ID: <999672320.26244.1315999389690.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1101647173.9045.1314926770159.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MATH-655) General framework for iterative algorithms MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-655?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D131044= 21#comment-13104421 ]=20 S=C3=A9bastien Brisard commented on MATH-655: ---------------------------------------- Yes, I forgot to mention that I'm about to submit the Conjugate Gradient co= de, which is fully tested, and uses this framework. I just need to polish s= ome last details up... > General framework for iterative algorithms > ------------------------------------------ > > Key: MATH-655 > URL: https://issues.apache.org/jira/browse/MATH-655 > Project: Commons Math > Issue Type: New Feature > Affects Versions: 3.0 > Reporter: S=C3=A9bastien Brisard > Priority: Minor > Labels: algorithm, events > Attachments: iteration-manager.zip, iterative-algorithm.zip, iter= ative-algorithm.zip > > > Following the thread [Monitoring iterative algorithms|http://mail-archive= s.apache.org/mod_mbox/commons-dev/201108.mbox/%3CCAGRH7HrgcgoBA=3DjcoKovjiQ= U=3DTjpQHnspBkOGNCu7oDdKk=3DK4w@mail.gmail.com%3E], 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()}} th= rows a {{TooManyEvaluationsException}}. If the proposed new feature is inte= grated into CM, then a proper {{TooManyIterationsException}} should be crea= ted, from which the former could derive. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira