module documentation

This module provides functions to generate non-dominated points for testing purposes

Function get_non_dominated_points Returns a list of non-dominated points: - n_points: number of points - n_dim: number of dimensions - mode: 'spherical' or 'linear'
Function get_random_points Returns a list of random points between 0 and 1, with n_points and n_dim dimensions
Function get_stacked_points Returns a list of points with n_points and n_dim dimensions, where point from i-th dimension is defined by points_definitions[i]:
Function linear_front_2d Returns a list of non-dominated points on the 2D linear front
Function linear_front_3d Returns a list of non-dominated points on the 3D linear front
Function linear_front_4d Returns a list of non-dominated points on the 4D linear front
Function next_gaussian_double Undocumented
Function permute_points takes a list of points (n x dim) and a permutation (dim) and returns the points with the permutation applied
Function spherical_front_2d Returns a list of non-dominated points on the 2D spherical front
Function spherical_front_3d Returns a list of non-dominated points on the 3D spherical front
Function spherical_front_4d Returns a list of non-dominated points on the 4D spherical front
def get_non_dominated_points(n_points, n_dim=3, mode='spherical'):

Returns a list of non-dominated points: - n_points: number of points - n_dim: number of dimensions - mode: 'spherical' or 'linear'

def get_random_points(n_points, n_dim):

Returns a list of random points between 0 and 1, with n_points and n_dim dimensions

def get_stacked_points(n_points, points_definitions):

Returns a list of points with n_points and n_dim dimensions, where point from i-th dimension is defined by points_definitions[i]:

  • 'random' for random value between 0 and 1
  • int for a fixed value
def linear_front_2d(distance, num_points, normalized=True):

Returns a list of non-dominated points on the 2D linear front

def linear_front_3d(distance, num_points, normalized):

Returns a list of non-dominated points on the 3D linear front

def linear_front_4d(distance, num_points, normalized):

Returns a list of non-dominated points on the 4D linear front

def next_gaussian_double():

Undocumented

def permute_points(points, permutation):

takes a list of points (n x dim) and a permutation (dim) and returns the points with the permutation applied

def spherical_front_2d(distance, num_points, normalized):

Returns a list of non-dominated points on the 2D spherical front

def spherical_front_3d(distance, num_points, normalized=True):

Returns a list of non-dominated points on the 3D spherical front

def spherical_front_4d(distance, num_points, normalized):

Returns a list of non-dominated points on the 4D spherical front