mutation: Mutation

Description Usage Arguments Details Value Author(s)

View source: R/mutation.R

Description

Performs mutation genetic operator in GABi genetic algorithm.

Usage

1
mutation(pop, mfreq)

Arguments

pop

Numeric array representing a population of binary GA chromosomes.

mfreq

Numeric value defining probability with which each bit in pop will be flipped.

Details

Mutation randomly flips each bit in the GA chromosome with some specified (low) probability.

Value

Numeric array representing a population of binary GA chromosomes, derived from pop but potentially altered by the mutation process.

Author(s)

Ed Curry e.curry@imperial.ac.uk


GABi documentation built on May 29, 2017, 11:02 a.m.

Search within the GABi package
Search all R packages, documentation and source code