Function PGAIntegerInitString

Function Documentation

void PGAIntegerInitString(PGAContext *ctx, int p, int pop)

Randomly initialize a string of data type integer.

Description

Note that this function is set in PGASetUp() as the init string user function for the integer datatype by default.

Parameters
  • ctx – context variable

  • p – index of string to randomly initialize

  • pop – symbolic constant of the population string p is in

Returns

None