desdeo_emo.selection.MOEAD_select
¶
Module Contents¶
Classes¶
The MOEAD selection operator. |
-
class
desdeo_emo.selection.MOEAD_select.
MOEAD_select
(pop: desdeo_emo.population.Population.Population, SF_type: desdeo_tools.scalarization.MOEADSF.MOEADSFBase)[source]¶ Bases:
desdeo_emo.selection.SelectionBase.SelectionBase
The MOEAD selection operator.
- Parameters
pop (Population) – The population of individuals
SF_type (MOEADSFBase) – The scalarizing function employed to evaluate the solutions
-
do
(self, pop: desdeo_emo.population.Population.Population, vectors: desdeo_emo.utilities.ReferenceVectors.ReferenceVectors, ideal_point, current_neighborhood, offspring_fx) → List[int][source]¶ Select the individuals that are kept in the neighborhood.
- Parameters
pop (Population) – The current population.
vectors (ReferenceVectors) – Class instance containing reference vectors.
ideal_point – Ideal vector found so far
current_neighborhood – Neighborhood to be updated
offspring_fx – Offspring solution to be compared with the rest of the neighborhood
- Returns
List of indices of the selected individuals
- Return type
List[int]