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, n_neighbors: int, selection_type: str = None)[source]
Bases:
desdeo_emo.selection.SelectionBase.InteractiveDecompositionSelectionBase
The MOEAD selection operator.
- Parameters:
pop (Population) – The population of individuals
SF_type (MOEADSFBase) – The scalarizing function employed to evaluate the solutions
- do(pop: desdeo_emo.population.Population.Population, current_neighborhood: int) 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]