rmoo_uxCrossover: Uniform Crossover

View source: R/geneticoperator.R

rmoo_uxCrossoverR Documentation

Uniform Crossover

Description

Produces two children by randomly swapping genes between two parents with equal probability at each locus. Each gene is inherited from either parent independently, giving maximum gene-level mixing.

Usage

rmoo_uxCrossover(object, parents)

rmooint_uxCrossover(object, parents)

rmoobin_uxCrossover(object, parents)

Arguments

object

MOEA object with slots population and fitness.

parents

Integer vector of length 2 with the parent row indices.

Value

A list with children (2 × n integer matrix) and fitness (2 × nObj NA matrix).


rmoo documentation built on May 4, 2026, 1:06 a.m.