View source: R/sof.swiler2014.R
makeSwiler2014Function | R Documentation |
Mixed parameter space with one discrete parameter x_1 \in \{1, 2, 3, 4, 5\}
and two numerical parameters x_1, x_2 \in [0, 1]
. The function is defined
as follows:
f(\mathbf{x}) = \\
\sin(2\pi x_3 - \pi) + 7 \sin^2(2 \pi x_2 - \pi) \, if \, x_1 = 1 \\
\sin(2\pi x_3 - \pi) + 7 \sin^2(2 \pi x_2 - \pi) + 12 \sin(2 \pi x_3 - \pi) \, if \, x_1 = 2 \\
\sin(2\pi x_3 - \pi) + 7 \sin^2(2 \pi x_2 - \pi) + 0.5 \sin(2 \pi x_3 - \pi) \, if \, x_1 = 3 \\
\sin(2\pi x_3 - \pi) + 7 \sin^2(2 \pi x_2 - \pi) + 8.0 \sin(2 \pi x_3 - \pi) \, if \, x_1 = 4 \\
\sin(2\pi x_3 - \pi) + 7 \sin^2(2 \pi x_2 - \pi) + 3.5 \sin(2 \pi x_3 - \pi) \, if \, x_1 = 5.
makeSwiler2014Function()
[smoof_single_objective_function
]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.