Uniform Weight Vector Generation

Uniform Weight Vector Generation #

File position: /EMOC/src/core/uniform_point.h and /EMOC/src/core/uniform_point.cpp

double** UniformPoint(int num, int* weight_num, int obj_num)

Generate uniform weight vectors.

Parameter:
num: int, default=None
    Number of uniform weight vectors want to generate.

weight_num: int*, default=None
    The real number of generated weight vectors.

obj_num: int, default=None
    The dimension of generated weight vectors.
Returns:
lambda: double**
    Generated uniform weight vectors. It's a 2D array of double with the size weight_num X obj_num.