Helper function which defines a selector method, i. e., an operator which takes the population and returns a part of it for mating or survival.
makeSelector(selector, supported = getAvailableRepresentations(),
supported.objectives, supported.opt.direction = "minimize")
[ecr_selector
]
Selector object.
[function
]
Actual selection operator.
[character
]
Vector of strings/names of supported parameter representations. Possible choices:
“permutation”, “float”, “binary” or “custom”.
[character
]
At least one of “single-objective” or “multi-objective”.
[character(1-2)
]
Does the selector work for maximization tasks xor minimization tasks or both?
Default is “minimize
”, which means that the selector selects
in favour of low fitness values.