Applies mutation to a selected parent vector by replacing each gene with a random value (within bounds) with a given mutation probability. Used in integer-encoded GAs.
gaintegerMutation(object, parent, ...)A numeric vector representing the mutated individual.
A GA object containing at least the slots @population,
@upper, @lower, and @pmutation.
An integer index indicating which individual in the population to mutate.
Further arguments (unused, included for compatibility).