makeBiSphereFunction: Bi-objective Sphere function

View source: R/mof.sphere.R

makeBiSphereFunctionR Documentation

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))

Arguments

dimensions

[integer(1)]
Number of decision variables.

a

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

Value

[smoof_multi_objective_function] Returns an instance of the sphere function as a smoof_multi_objective_function object.


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