AMOCcrossover: Average crossover operator to produce offspring for AMOC...

View source: R/AMOCfunc.R

AMOCcrossoverR Documentation

Average crossover operator to produce offspring for AMOC problem

Description

In this crossover operator designed for AMOC problem, the new child is produced by taking the average of the changepoint locations from dad and mom and round to an integer. Note, every chromosome has at most one candidate changepoint location.

Usage

AMOCcrossover(mom, dad, p.range = NULL, minDist, lmax, N)

Arguments

mom

Among two selected individuals, mom represents the selected chromosome representation with lower fitness function value.

dad

Among two selected individuals, dad represents the selected chromosome representation with larger fitness function value.

p.range

The default value is NULL. If there is no requirement on model order selection, such an auxiliary argument is needed for GA and IslandGA functions.

minDist

The minimum length between two adjacent changepoints.

lmax

The maximum possible length of the chromosome representation.

N

The length of time series.

Value

The child chromosome that produced from mom and dad for next generation.


changepointGA documentation built on June 8, 2025, 1:12 p.m.