chooseChromosomes: support function: chooseChromosomes()

Description Usage Arguments Examples

Description

This function put choose/select the chromosomes for generating the next generation.

Usage

1
chooseChromosomes(df_init, rankBased = TRUE)

Arguments

df_init

data frame; ranked chromosomes

rankBased

logic; TRUE is choosing both parent based on their fitness and FALSE is choosing one parent based on fitness and the other one randomly; defaults to TRUE;

Examples

1

QinganZhao/GA documentation built on May 28, 2019, 6:41 a.m.