View source: R/modified_crowding_distance.R
calc_norm_pref_distance | R Documentation |
Calculate Normalized Preference Distance Computes the weighted normalized Euclidean distance between a set of fitness vectors and a set of reference points.
calc_norm_pref_distance(fitness, ref_points, weight, ideal_point, nadir_point)
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. |
A matrix of distances where element (i, j) is the distance from fitness to ref_points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.