makeAckleyFunction: Ackley Function

Description Usage Arguments Value References

View source: R/sof.ackley.R

Description

Also known as “Ackley's Path Function”. Multimodal test function with its global optimum in the center of the defintion space. The implementation is based on the formula

f(\mathbf{x}) = -a \cdot \exp≤ft(-b \cdot √{≤ft(\frac{1}{n} ∑_{i=1}^{n} \mathbf{x}_i\right)}\right) - \exp≤ft(\frac{1}{n} ∑_{i=1}^{n} \cos(c \cdot \mathbf{x}_i)\right),

with a = 20, b = 0.2 and c = 2π. The feasible region is given by the box constraints \mathbf{x}_i \in [-32.768, 32.768].

Usage

1
makeAckleyFunction(dimensions)

Arguments

dimensions

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

Value

[smoof_single_objective_function]

References

Ackley, D. H.: A connectionist machine for genetic hillclimbing. Boston: Kluwer Academic Publishers, 1987.


smoof documentation built on Aug. 14, 2017, 5:02 p.m.