Scalable single-objective test function based on the formula $$f(\mathbf{x}) = 0.1 \sum_{i = 1}^{n} (x_i - \alpha)^2 - \cos\left(K \sqrt{\sum_{i = 1}^{n} (x_i - \alpha)^2}\right)$$ with \(\mathbf{x}_i \in [0, 2\alpha], i = 1, \ldots, n\) and \(\alpha = K = 5\) by default.

makeDeflectedCorrugatedSpringFunction(dimensions, K = 5, alpha = 5)

Arguments

dimensions

[integer(1)]
Size of corresponding parameter space.

K

[numeric(1)]
Parameter. Default is 5.

alpha

[numeric(1)]
Parameter. Default is 5.

Value

[smoof_single_objective_function]