commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1415454 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java
Date Thu, 29 Nov 2012 23:26:00 GMT
Author: erans
Date: Thu Nov 29 23:26:00 2012
New Revision: 1415454

URL: http://svn.apache.org/viewvc?rev=1415454&view=rev
Log:
MATH-874
Deprecation.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java?rev=1415454&r1=1415453&r2=1415454&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java
Thu Nov 29 23:26:00 2012
@@ -51,7 +51,12 @@ public interface BaseMultivariateOptimiz
      * if the maximal number of evaluations is exceeded.
      * @throws org.apache.commons.math3.exception.NullArgumentException if
      * any argument is {@code null}.
+     * @deprecated As of 3.1. In 4.0, it will be replaced by the declaration
+     * corresponding to this
+     * {@link BaseAbstractMultivariateOptimizer#optimize(int,MultivariateFunction,GoalType,OptimizationData[])
+     * method}.
      */
+    @Deprecated
     PointValuePair optimize(int maxEval, FUNC f, GoalType goalType,
-                                double[] startPoint);
+                            double[] startPoint);
 }



Mime
View raw message