Inverted Generational Distance
#
File position: /EMOC/src/metric/igd.h and /EMOC/src/metric/igd.cpp
double CalculateIGD(Individual** pop, int pop_num, int obj_num, double** pf_data, int pf_size)
Calculate the inverted generational distance value of current population pop
based on the pareto front data pf_data
.
Parameter: |
pop: Individual**, default=None     The population which need to be initialized. It's an array of Individual* where each Individual* is a pointer to a individual in the population.
pop_num: int, default=None     The size of the given population.
obj_num: int, default=None     The number of objectives.
pf_data: double**, default=None     The pareto front data. It's a 2D array of double (pf_size X obj_num).
pf_size: int, default=None     The size of the pareto front pf_data. |
Returns: |
igd_value: double     Inverted generational distance value of current population pop. |