mutationBinaryBitFlip: Bit-flip Mutation for Bit-strings

View source: R/binaryOperators.R

mutationBinaryBitFlipR 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


CEGO documentation built on May 29, 2024, 3:35 a.m.