makeSchafferN4Function: Schaffer Function N. 4

View source: R/sof.schaffer.function.4.R

makeSchafferN4FunctionR Documentation

Schaffer Function N. 4

Description

Second function by Schaffer. The definition is given by the formula

f(\mathbf{x}) = 0.5 + \frac{\cos^2(sin(|\mathbf{x}_1^2 - \mathbf{x}_2^2|)) - 0.5}{(1 + 0.001(\mathbf{x}_1^2 + \mathbf{x}_2^2))^2}

subject to \mathbf{x}_i \in [-100, 100], i = 1, 2.

Usage

makeSchafferN4Function()

Value

An object of class SingleObjectiveFunction, representing the Schaffer N. 4 Function.

[smoof_single_objective_function]

References

S. K. Mishra, Some New Test Functions For Global Optimization And Performance of Repulsive Particle Swarm Method.


jakobbossek/smoof documentation built on Feb. 17, 2024, 2:23 a.m.