desdeo_emo.utilities.non_dominated
Module Contents
Functions
|
Checks if newly evaluated and archived solutions are non_dominated. |
- desdeo_emo.utilities.non_dominated.check_domination(new: numpy.ndarray, archive: numpy.ndarray) Tuple[numpy.ndarray, numpy.ndarray] [source]
Checks if newly evaluated and archived solutions are non_dominated.
- Parameters:
new (np.ndarray) – Newly evaluated solution’s fitness values (should be a 2D array).
archive (np.ndarray) – Archive of non-dominated solutions (also a 2D array, must be mutually non-dominated).
- Raises:
ValueError – If the new array is not a 2D array.
- Returns:
- Two arrays of indices that are
non-dominated in the new and archive arrays respectively.
- Return type:
Tuple[np.ndarray, np.ndarray]