dist_crowding: Calculate Crowding Distance

View source: R/utils_mo.R

dist_crowdingR Documentation

Calculate Crowding Distance

Description

Takes a matrix of fitness values and calculates the crowding distance for individuals in that matrix.

Individuals that are minimal or maximal with respect to at least one dimension are assigned infinite crowding distance.

Individuals are assumed to be in a (epsilon-) nondominated front.

Usage

dist_crowding(fitnesses)

Arguments

fitnesses

(⁠numeric matrix⁠)
fitness matrix, with one row per individual and one column per objective

Value

numeric: Vector of crowding distances.


miesmuschel documentation built on Sept. 11, 2024, 8:23 p.m.