diff --git a/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java b/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java index 0c293e25f..1ce89f7a6 100644 --- a/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java +++ b/src/main/java/org/apache/commons/math3/ode/events/EventFilter.java @@ -19,9 +19,6 @@ package org.apache.commons.math3.ode.events; 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.FirstOrderIntegrator; * *

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 diff --git a/src/main/java/org/apache/commons/math3/ode/events/FilterType.java b/src/main/java/org/apache/commons/math3/ode/events/FilterType.java index c1a1e50f0..91d8bfcaf 100644 --- a/src/main/java/org/apache/commons/math3/ode/events/FilterType.java +++ b/src/main/java/org/apache/commons/math3/ode/events/FilterType.java @@ -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,