calc_norm_pref_distance: Calculate Normalized Preference Distance Computes the...

View source: R/modified_crowding_distance.R

calc_norm_pref_distanceR Documentation

Calculate Normalized Preference Distance Computes the weighted normalized Euclidean distance between a set of fitness vectors and a set of reference points.

Description

Calculate Normalized Preference Distance Computes the weighted normalized Euclidean distance between a set of fitness vectors and a set of reference points.

Usage

calc_norm_pref_distance(fitness, ref_points, weight, ideal_point, nadir_point)

Arguments

fitness

A matrix of fitness values.

ref_points

A matrix of reference points.

weight

A numeric vector of weights for each objective.

ideal_point

A numeric vector of ideal point values.

nadir_point

A numeric vector of nadir point values.

Value

A matrix of distances where element (i, j) is the distance from fitness to ref_points.


benitezfj/rmoo documentation built on July 16, 2025, 11:07 p.m.