From 949ba2c5396cb41176325813dda9255f0cfce143 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Thu, 29 Nov 2012 23:26:00 +0000 Subject: [PATCH] MATH-874 Deprecation. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415454 13f79535-47bb-0310-9956-ffa450edef68 --- .../math3/optimization/BaseMultivariateOptimizer.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java b/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java index 56cf2a15e..6785aabe1 100644 --- a/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java +++ b/src/main/java/org/apache/commons/math3/optimization/BaseMultivariateOptimizer.java @@ -51,7 +51,12 @@ public interface BaseMultivariateOptimizer * 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); }