Description Usage Arguments Value Examples
Evaluate a population with the specified test function. Non-feasible solution are given Inf as objective values.
1 | EvaluatePopulation(pop, fun, ...)
|
pop |
The population to be evaluated |
fun |
A string containing which problem is being solved. Currently available in the package: DTLZ1-DTLZ4, WFG4-WFG9. |
... |
Further parameters used by |
A matrix of size nObjective, containing the objective values.
1 2 | pop <- matrix(runif(8*50),nrow=8) # 8 variables, 50 individuals
EvaluatePopulation(pop,WFG4,3) # the 3 is passed to WFG4 nObj
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.