Learn R Programming

smoof (version 1.6.0.3)

makeBiSphereFunction: Bi-objective Sphere function

Description

Builds and returns the bi-objective Sphere test problem: $$f(\mathbf{x}) = \left(\sum_{i=1}^{n} \mathbf{x}_i^2, \sum_{i=1}^{n} (\mathbf{x}_i - \mathbf{a})^2\right)$$ where $$\mathbf{a} \in R^n$$.

Usage

makeBiSphereFunction(dimensions, a = rep(0, dimensions))

Value

[smoof_multi_objective_function]

Arguments

dimensions

[integer(1)]
Number of decision variables.

a

[numeric(1)]
Shift parameter for the second objective. Default is (0,...,0).