reproduce: Grow the population, reproducing to given capacity

Description Usage Arguments

Description

reproduce allows the population to grow to the given capacity. Reproduction is done using fitness-proportional selection based on the fitness associated with each genotype.

Usage

1
reproduce(population, popsize)

Arguments

population

A mutationtree population

popsize

The size of the resulting population. Since reproduction is done stochastically, the resulting population may not be this exact value.

A

modified mutationtree population


briandconnelly/mutationtree documentation built on May 13, 2019, 5:14 a.m.