Function PGASetReferencePoints

Function Documentation

void PGASetReferencePoints(PGAContext *ctx, size_t npoints, void *points)

Set reference points on reference hyperplane for NSGA-III.

Example

PGAContext *ctx;
...
int dim = PGAGetNumAuxEval (ctx) - PGAGetNumConstraint (ctx) + 1;
void *p = NULL;
int np  = 0;

...
np = LIN_dasdennis (dim, 3, &p, 0, 1, NULL);
PGASetReferencePoints (ctx, np, p);

Parameters
  • ctx – context variable

  • npoints – Number of points

  • points – Pointer to points

Returns

None