mutationBinaryBitFlip {CEGO}R Documentation

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)

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

Value

mutated population


[Package CEGO version 2.4.2 Index]