Skip to main content

generate_reference_points

Function generate_reference_points 

Source
pub fn generate_reference_points(
    n_obj: usize,
    n_divisions: usize,
) -> Vec<Vec<f64>>
Expand description

Generate structured reference points on the unit hyperplane using the Das-Dennis lattice (simplex lattice design).

For n_obj objectives and n_divisions H, generates all points (a_1/H, …, a_M/H) where each a_i is a non-negative integer and their sum equals H. The result lies on the M-dimensional unit simplex.

The total number of points is C(H + M - 1, M - 1).