Learn R Programming

rmoo (version 0.3.2)

rmoo_lrSelection: Linear Rank Selection

Description

Selects individuals from the population using linear rank-based probabilities. Individuals are ranked by their Pareto front, and selection probability is assigned linearly so better-ranked individuals are more likely to be chosen.

Usage

rmoo_lrSelection(object, r, q)

rmoobin_lrSelection(object, r, q)

rmooperm_lrSelection(object, r, q)

rmooreal_lrSelection(object, r, q)

Value

A list with population and fitness of the selected individuals.

Arguments

object

MOEA object with slots population, fitness, front, popSize.

r

Slope parameter controlling probability spread (computed from popSize if missing).

q

Intercept parameter (computed from popSize if missing).