"Simplex.TransformFactory" must extend "OptimizationData".
This commit is contained in:
parent
c04dd79f0f
commit
1bc6e8de25
|
@ -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. */
|
||||
|
|
|
@ -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}. */
|
||||
|
|
|
@ -28,8 +28,7 @@ import org.apache.commons.math4.legacy.optim.OptimizationData;
|
|||
* <a href="https://en.wikipedia.org/wiki/Nelder%E2%80%93Mead_method">Nelder-Mead method</a>.
|
||||
*/
|
||||
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}. */
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue