evoluteCandidates: Pick candidates to reduce relatedness and maximize criterion

View source: R/evoluteCandidates.R

evoluteCandidatesR Documentation

Pick candidates to reduce relatedness and maximize criterion

Description

Evolutionary algorithm to pick candidates for mating plan to reduce relatedness and maximize criterion

Usage

evoluteCandidates(
  criterion,
  K,
  n.candidates,
  step = c(5, 4, 3, 2, 1),
  n.steps = 200,
  n.try = 10000,
  n.burnIn = 10
)

Arguments

criterion

data frame with variable to maximize

K

relationship matrix

n.candidates

number of crosses in the mating plan

n.try

attempts to replace the current number of candidates (current step) to improve candidates list before moving for next phase

n.burnIn

attempts to initialize the chain

steps

numeric vector of steps in each evolution phase

Value

A list with final candidate list, and relationship and criterion evolution

Author(s)

Rodrigo R Amadeu, rramadeu@gmail.com


rramadeu/SimpleMating documentation built on Jan. 30, 2023, 7:29 p.m.