Learn R Programming

MaOEA (version 0.6.2)

Normalize: Objective space normalization.

Description

Normalize the objectives AND reference (combined) to 0-1. The origin is the ideal point. (1,...,1) is the nadir.

Usage

Normalize(objectiveValue, referencePoints = NULL)

Arguments

objectiveValue

Set of objective vectors to normalize

referencePoints

Set of reference points to transform following the objective vector normalization

Value

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

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab