Function PGA_NSGA_Replacement

Function Documentation

static void PGA_NSGA_Replacement(PGAContext *ctx, crowding_t crowding_method)

Perform NSGA Replacement.

Description

  • Perform dominance computation (ranking)

  • Perform crowding computation specific to the NSGA-Variant given as the parameter crowding_method

  • 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

  • crowding_method – Method used for crowding sort

Returns

None