Helper function which constructs a recombinator, i. e., a recombination operator.
makeRecombinator(
recombinator,
supported = getAvailableRepresentations(),
n.parents = 2L,
n.children = NULL
)
[ecr_recombinator
]
Recombinator object.
[function
]
Actual mutation operator.
[character
]
Vector of strings/names of supported parameter representations. Possible choices:
“permutation”, “float”, “binary” or “custom”.
[integer(1)
]
Number of parents supported.
[integer(1)
]
How many children does the recombinator produce?
Default is 1
.