Struct PGAIndividual

Struct Documentation

struct PGAIndividual

Individual Structure.

Public Members

int index

< primary population data structure

index of this indiv of the pop

double evalue

evaluation function value

double fitness

fitness function value

int evaluptodate

flag whether evalue is current

void *chrom

pointer to the GA string

double *auxeval

Auxiliary evaluations

double auxtotal

Total aux evaluation

int auxtotalok

flag wether auxtotal is current

unsigned int rank

Rank for dominance-sorting

struct PGAContext *ctx

Pointer to our PGAContext

struct PGAIndividual *pop

The population of this indiv.

double crowding

Crowding metric for NSGA-II,-III

int funcidx

Temporary function index

double *normalized

Normalized point for NSGA-III

double distance

Distance to associated point

int point_idx

Index of associated point

struct PGAIndividual *next_hash

Next hash value in chain