Function PGASetMutationIntegerValue

Function Documentation

void PGASetMutationIntegerValue(PGAContext *ctx, int val)

Set multiplier to mutate data type integer strings with.

Description

The use of this value depends on the type of mutation being used. The default value is 1. See section Mutation of the user guide for more details.

Example

PGAContext *ctx;

...
PGASetMutationIntegerValue (ctx, 5);

Parameters
  • ctx – context variable

  • val – the mutation value to use for Integer mutation

Returns

None