WFG9: The WFG9 test function.

Description Usage Arguments Value References Examples

View source: R/WFG.R

Description

The WFG9 test function.

Usage

1
WFG9(individual, nObj, k = nObj - 1)

Arguments

individual

The individual to be evaluated, the search space should be in [0-2i] for variable number i. Can accept multiple individualm each in different column.

nObj

The number of objective

k

Number of distance related parameters. The reference suggests a positive integer multiplied by (nObj-1). Default to nObj-1

Value

A matrix of size nObjective, containing the objective values.

References

Huband, S., Hingston, P., Barone, L., While, L.: A review of multiobjective test problems and a scalable test problem toolkit. Trans. Evol. Comp 10 (5), 477–506 (2006)

Examples

1
2
3
individual <- runif(14)
nObj <- 4
WFG9(individual,nObj)

Example output

Check required python modules:
reticulate::py_module_available('numpy') and reticulate::py_module_available('pygmo').
If not available, try using MaOEA::install_python_dependencies()
or follow the instructions in https://esa.github.io/pagmo2/install.html
and call MaOEA::load_python_dependencies().
         [,1]
[1,] 2.032935
[2,] 1.435012
[3,] 2.933621
[4,] 3.308523

MaOEA documentation built on Aug. 31, 2020, 5:07 p.m.