Learn R Programming

emoa (version 0.5-0)

sbx_operator: Simulated binary crossover operator

Description

Returns a simulated binary crossover operator with the given parameters.

Usage

sbx_operator(n, p, lower, upper)

Arguments

n
Distance parameter of crossover distribution ($eta$).
p
Probability of one point crossover.
lower
Lower bounds of parameter space.
upper
Upper bounds of parameter space.

Value

Function with one parameter x which takes a matrix containing two sets of parameters and returns a matrix of two sets of parameters which resulted from the crossover operation. As with all emoa functions, the parameter sets are stored in the columns of x. x should therefore always have two columns and a warning will be given if it has more than two columns.

See Also

pm_operator