select_parents: Selection of Parents for Crossover

Description Usage Arguments

View source: R/selection_crossover_mutation.R

Description

Selection of first parent is done according to fitness ranks generated with rank_objective_function. Probably of parent rank, \frac{2\ r_{i}}{P(P+1)}, from i = 1,...,P, where rank_i are fitness ranks of each parent chromosomes, and P is number of of parent chromosomes. The second parent is selected randomly and will not be the same as the previous parent. Fucntion returns ranks of select parents to be used for crossover_parents.

Usage

1
select_parents(parent_rank)

Arguments

parent_rank

a vector indicating the rank of parents chromosomes. Ranking order is inverse: parent chromosomes with lowest fitness rank will have rank == 1.

References: Geof H. Givens, Jennifer A. Hoeting (2013) Combinatorial Optimization (italicize). Chapter 3 of Computational Statistics (italicize).


yzhou63/GA documentation built on Dec. 15, 2017, 1:05 a.m.