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")
Arguments
selector |
[function ]
Actual selection operator. |
supported |
[character ]
Vector of strings/names of supported parameter representations. Possible choices:
“permutation”, “float”, “binary” or “custom”. |
supported.objectives |
[character ]
At least one of “single-objective” or “multi-objective”. |
supported.opt.direction |
[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. |
Value
[ecr_selector
]
Selector object.