% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geneticoperator.R
\name{rmoo_huxCrossover}
\alias{rmoo_huxCrossover}
\alias{rmooint_huxCrossover}
\alias{rmoobin_huxCrossover}
\title{Half Uniform Crossover (HUX)}
\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{
\item{object}{MOEA object with slots population and fitness.}

\item{parents}{Integer vector of length 2 with the parent row indices.}

\item{prob_hux}{Proportion of differing loci to swap (default 0.5).}
}
\value{
A list with \code{children} (2 × n integer matrix) and
\code{fitness} (2 × nObj NA matrix).
}
\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.
}
