Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9AC40F094 for ; Tue, 19 Mar 2013 20:13:36 +0000 (UTC) Received: (qmail 25453 invoked by uid 500); 19 Mar 2013 20:13:36 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 25379 invoked by uid 500); 19 Mar 2013 20:13:36 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 25372 invoked by uid 99); 19 Mar 2013 20:13:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Mar 2013 20:13:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Mar 2013 20:13:33 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2A70123888CD; Tue, 19 Mar 2013 20:13:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1458491 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events: EventFilter.java FilterType.java Date: Tue, 19 Mar 2013 20:13:12 -0000 To: commits@commons.apache.org From: luc@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130319201312.2A70123888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: luc Date: Tue Mar 19 20:13:11 2013 New Revision: 1458491 URL: http://svn.apache.org/r1458491 Log: Fixed checkstyle warnings. Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java?rev=1458491&r1=1458490&r2=1458491&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java Tue Mar 19 20:13:11 2013 @@ -19,9 +19,6 @@ package org.apache.commons.math3.ode.eve import java.util.Arrays; -import org.apache.commons.math3.ode.FirstOrderIntegrator; - - /** Wrapper used to detect only increasing or decreasing events. * *

General {@link EventHandler events} are defined implicitely @@ -41,10 +38,11 @@ import org.apache.commons.math3.ode.Firs * *

Users can wrap a regular {@link EventHandler event handler} in * an instance of this class and provide this wrapping instance to - * the {@link FirstOrderIntegrator ODE solver} in order to avoid wasting - * time looking for uninteresting events. The wrapper will intercept - * the calls to the {@link EventHandler#g(double, double[]) g function} - * and to the {@link EventHandler#eventOccurred(double, double[], boolean) + * the {@link org.apache.commons.math3.ode.FirstOrderIntegrator ODE solver} + * in order to avoid wasting time looking for uninteresting events. + * The wrapper will intercept the calls to the {@link + * EventHandler#g(double, double[]) g function} and to the {@link + * EventHandler#eventOccurred(double, double[], boolean) * eventOccurred} method in order to ignore uninteresting events. The * wrapped regular {@link EventHandler event handler} will the see only * the interesting events, i.e. either only {@code increasing} events or Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java?rev=1458491&r1=1458490&r2=1458491&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/events/FilterType.java Tue Mar 19 20:13:11 2013 @@ -18,8 +18,6 @@ package org.apache.commons.math3.ode.events; import org.apache.commons.math3.exception.MathInternalError; -import org.apache.commons.math3.util.Precision; - /** Enumerate for {@link EventFilter filtering events}. * @@ -72,7 +70,7 @@ public enum FilterType { * \_/ \ / \_/ \ * ------ ---------- 0 ----------_---------- 0 --------------------- 0 --- * \ / \ / \ - * h=max(+s,-g,+g) \ / \ / h=max(+s,-g,+g) \ + * h=max(+s,-g,+g) \ / \ / h=max(+s,-g,+g) \ * \ / \ / h=-g \ / * \___/ \___/ \___/ * @@ -85,7 +83,7 @@ public enum FilterType { *

  • h = min(-s,-g,+g)
  • *
  • h = -g
  • * - * where s is a tiny positive value: {@link Precision#SAFE_MIN}. + * where s is a tiny positive value: {@link org.apache.commons.math3.util.Precision#SAFE_MIN}. *

    */ protected Transformer selectTransformer(final Transformer previous, @@ -261,7 +259,7 @@ public enum FilterType { *
  • h = min(-s,-g,+g)
  • *
  • h = -g
  • * - * where s is a tiny positive value: {@link Precision#SAFE_MIN}. + * where s is a tiny positive value: {@link org.apache.commons.math3.util.Precision#SAFE_MIN}. *

    */ protected Transformer selectTransformer(final Transformer previous,