desdeo_emo.selection.SelectionBase
¶
Module Contents¶
Classes¶
The base class for the selection operator. |
-
class
desdeo_emo.selection.SelectionBase.
SelectionBase
[source]¶ Bases:
abc.ABC
The base class for the selection operator.
-
abstract
do
(self, fitness: numpy.ndarray, *args) → List[int][source]¶ - Use the selection operator over the given fitness values. Return the indices
individuals with the best fitness values according to the operator.
- Parameters
fitness (np.ndarray) – Fitness of the individuals from which the next generation is to be selected.
- Returns
The list of selected individuals
- Return type
List[int]
-
abstract