breed_params: Breed AFLELO Params

Description Usage Arguments Value Examples

View source: R/optimise.R

Description

Create a new population of AFLELO Params through crossover of an existing population

Usage

1
breed_params(population, fitness, n)

Arguments

population

list of aflelo_params

fitness

vector giving the fitness of each aflelo_params

n

size of new population

Value

list of alfelo_params

Examples

1
2
population <- aflelo:::new_population(5)
aflelo:::breed_params(population, rep(0.5, 5), 5)

lazappi/aflelo documentation built on May 17, 2019, 7:30 p.m.