mutation_fixknots: Mutation Operator (Fixed-Knots)

View source: R/gareg_knots.R

mutation_fixknotsR Documentation

Mutation Operator (Fixed-Knots)

Description

Replaces a child with a fresh feasible sample having the same m, drawn by selectTau_uniform_exact.

Usage

mutation_fixknots(child, p.range = NULL, minDist, Pb, lmax, mmax, N)

Arguments

child

Current chromosome (its first entry defines m).

p.range, Pb

Unused placeholders (kept for compatibility).

minDist

Integer minimum spacing.

lmax, mmax

Integers; chromosome length and maximum m (unused).

N

Integer series length.

Value

New feasible chromosome with the same m.

See Also

crossover_fixknots


GAReg documentation built on March 29, 2026, 5:08 p.m.