powered by
Evaluate individual with the specified test function. Non-feasible solution are given Inf as objective values.
EvaluateIndividual(individual, fun, ...)
The individual to be evaluated
A string containing which problem is being solved. Currently available DTLZ1-DTLZ4, WFG4-WFG9.
Further parameters used by fun
fun
A matrix of size nObjective, containing the objective values.
# NOT RUN { individual <- stats::runif(8) EvaluateIndividual(individual,WFG4,3) # the 3 is passed to WFG4 nObj # }
Run the code above in your browser using DataLab