Function PGA_NSGA_Replacement

Function Documentation

static void PGA_NSGA_Replacement(PGAContext *ctx)

Perform NSGA Replacement.

Description

  • Perform dominance computation (ranking)

  • Perform crowding computation specific to the NSGA-Variant the crowding method is taken from ctx->cops.Crowding.

  • Sort individuals and replace into next generation

Note that the crowding_method makes the difference between NSGA-II and NSGA-III.

Parameters:
  • ctx – context variable

Returns:

None