Function PGAHashIndividual
Defined in File duplcate.c
Function Documentation
-
void PGAHashIndividual(PGAContext *ctx, int p, int pop)
Compute Hash for this individual and insert into hash-table.
Description
Calls
PGAIndividualHashIndex()
for the hash value and puts it into the correct hash bucket.- Parameters:
ctx – context variable
p – string index
pop – symbolic constant of the population containing string p
- Returns:
Computes hash of given individual and inserts it into hash table