rmoo_huxCrossover: Half Uniform Crossover (HUX)

View source: R/geneticoperator.R

rmoo_huxCrossoverR Documentation

Half Uniform Crossover (HUX)

Description

Produces two children by swapping exactly half of the genes that differ between the two parents. Only loci where the parents disagree are eligible, making HUX more conservative than full uniform crossover.

Usage

rmoo_huxCrossover(object, parents, prob_hux = 0.5)

rmooint_huxCrossover(object, parents, prob_hux = 0.5)

rmoobin_huxCrossover(object, parents, prob_hux = 0.5)

Arguments

object

MOEA object with slots population and fitness.

parents

Integer vector of length 2 with the parent row indices.

prob_hux

Proportion of differing loci to swap (default 0.5).

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.