getCrowdingDistance-methods function

Accessor methods to the crowding distance for NSGA-II results

methods

Accessor methods to the crowding distance for NSGA-II results

getCrowdingDistance(obj) ## S4 method for signature 'nsga2' getCrowdingDistance(obj)

Arguments

  • obj: an object resulting from the execution of NSGA-II algorithm

Returns

Returns a vector with the crowding distances of class nsga2. See nsga2

for a description of available slots information.

Examples

# Where 'out' is an object resulting from the execution of the NSGA-II algorithm. # # getCrowdingDistance(out) #

Author(s)

Francisco Benitez benitezfj94@gmail.com