| Normalize | R Documentation |
Normalize the objectives AND reference (combined) to 0-1. The origin is the ideal point. (1,...,1) is the nadir.
Normalize(objectiveValue, referencePoints = NULL)
objectiveValue |
Set of objective vectors to normalize |
referencePoints |
Set of reference points to transform following the objective vector normalization |
A list containing the following:
normalizedObjective The normalized values
idealPoint The ideal point corresponding to the origin
transformedReference The location of reference points in the normalized Space
nObj <- 5
nVar <- 10
nIndividual <- 100
population <- InitializePopulationLHS(nIndividual,nVar,FALSE)
objective <- matrix(,nrow=nObj,ncol=nIndividual)
for(individual in 1:nIndividual){
objective[,individual] <- WFG4(population[,individual],nObj)
}
Normalize(objective)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.