Learn R Programming

SIMPLICA (version 1.0.0)

gaintegerMutation: Integer mutation operator for genetic algorithms

Description

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.

Usage

gaintegerMutation(object, parent, ...)

Value

A numeric vector representing the mutated individual.

Arguments

object

A GA object containing at least the slots @population, @upper, @lower, and @pmutation.

parent

An integer index indicating which individual in the population to mutate.

...

Further arguments (unused, included for compatibility).