uniformcrossover | R Documentation |
In uniform crossover, typically, each bit is chosen from either parent with
equal probability. Other mixing ratios are sometimes used, resulting in
offspring which inherit more genetic information from one parent than the
other. In a uniform crossover, we don’t divide the chromosome into segments,
rather we treat each gene separately. In this, we essentially flip a coin
for each chromosome to decide whether or not it will be included in the
off-spring. If model order selection is requested, each child's model order
has the equal probability (0.5) from dad
and mom
.
uniformcrossover(mom, dad, prange, minDist, lmax, N)
mom |
Among two selected individuals, |
dad |
Among two selected individuals, |
prange |
Default value is |
minDist |
The required minimum distance between two adjacent changepoints. |
lmax |
The user specified maximum number of changepoints, by default,
as |
N |
The length of time series. |
The child chromosome that produced from mom
and dad
for
next generation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.