diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/HedarFukushimaTransform.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/HedarFukushimaTransform.java index 2328b728c..d4967d57b 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/HedarFukushimaTransform.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/HedarFukushimaTransform.java @@ -54,8 +54,7 @@ import org.apache.commons.math4.legacy.optim.OptimizationData; * "SSA" algorithm in the above paper. */ public class HedarFukushimaTransform - implements Simplex.TransformFactory, - OptimizationData { + implements Simplex.TransformFactory { /** Shrinkage coefficient. */ private final double sigma; /** Sampler for reflection coefficient. */ diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/MultiDirectionalTransform.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/MultiDirectionalTransform.java index 6b4e1f85e..5d59bae22 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/MultiDirectionalTransform.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/MultiDirectionalTransform.java @@ -30,8 +30,7 @@ import org.apache.commons.math4.legacy.optim.OptimizationData; * Multi-directional search method. */ public class MultiDirectionalTransform - implements Simplex.TransformFactory, - OptimizationData { + implements Simplex.TransformFactory { /** Reflection coefficient. */ private static final double ALPHA = 1; /** Default value for {@link #gamma}: {@value}. */ diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/NelderMeadTransform.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/NelderMeadTransform.java index 775d5a355..9751516ac 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/NelderMeadTransform.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/NelderMeadTransform.java @@ -28,8 +28,7 @@ import org.apache.commons.math4.legacy.optim.OptimizationData; * Nelder-Mead method. */ public class NelderMeadTransform - implements Simplex.TransformFactory, - OptimizationData { + implements Simplex.TransformFactory { /** Default value for {@link #alpha}: {@value}. */ private static final double DEFAULT_ALPHA = 1; /** Default value for {@link #gamma}: {@value}. */ diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/Simplex.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/Simplex.java index bcc94aa32..f5a127a66 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/Simplex.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/Simplex.java @@ -249,7 +249,7 @@ public final class Simplex implements OptimizationData { * @see NelderMeadTransform * @see HedarFukushimaTransform */ - public interface TransformFactory { + public interface TransformFactory extends OptimizationData { /** * Creates a simplex transformation. *