mutation: Randomly modify a cell.

Description Usage Arguments Value

Description

This function takes a cell a flips some of values by chance.

Usage

1
mutation(cell, change)

Arguments

cell

cells matrix.

change

Rate of mutation for each cell splitting. First values is the chance of going form 0 to 1, and the second is the chance of going for 1 to 0.

Value

A cells matrix.


EmilHvitfeldt/cell documentation built on May 5, 2019, 7:03 p.m.