EvaluateIndividual: Evaluate objective values of a single individual

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Evaluate individual with the specified test function. Non-feasible solution are given Inf as objective values.

Usage

1
EvaluateIndividual(individual, fun, ...)

Arguments

individual

The individual to be evaluated

fun

A string containing which problem is being solved. Currently available DTLZ1-DTLZ4, WFG4-WFG9.

...

Further parameters used by fun

Value

A matrix of size nObjective, containing the objective values.

Examples

1
2
individual <- stats::runif(8)
EvaluateIndividual(individual,WFG4,3) # the 3 is passed to WFG4 nObj

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