Learn R Programming

CEGO (version 2.4.3)

mutationBinaryBitFlip: Bit-flip Mutation for Bit-strings

Description

Given a population of bit-strings, this function mutates all individuals by randomly inverting one or more bits in each individual.

Usage

mutationBinaryBitFlip(population, parameters)

Value

mutated population

Arguments

population

List of bit-strings

parameters

list of parameters: parameters$mutationRate => mutation rate, specifying number of bits flipped. Should be in range between zero and one