Function INDGetAuxTotal

Function Documentation

double INDGetAuxTotal(PGAIndividual *ind)

Compute total value over all constraint violations.

Description

This returns the sum of all positive individual aux evaluations that are used for constraints. The semantics is a total value of all constraint violations.

Example

PGAIndividual *ind = PGAGetIndividual (ctx, p, PGA_OLDPOP);
double result;

...
result = INDGetAuxTotal (ind);

Parameters
  • ind – Pointer to Individual

Returns

Computed or cached total value over all constraint violations