Learn R Programming

gMOIP (version 1.5.3)

.mToDirection: Convert min/max to direction (1/-1)

Description

Convert min/max to direction (1/-1)

Usage

.mToDirection(m, p)

Value

A direction vector (min = 1 and max = -1)

Arguments

m

Min/max vector.

p

Number of objectives.