Skip to content

voiage.methods.dominance.calculate_strong_dominance

calculate_strong_dominance([positional or keyword] costs: np.ndarray | list[float] = None, [positional or keyword] effects: np.ndarray | list[float] = None) -> list[int]

Return indices of strongly dominated strategies.

costs : numpy.ndarray or list[float] Strategy costs. effects : numpy.ndarray or list[float] Strategy effects.

list[int] Indices of strategies that are more costly and no more effective than at least one alternative.

A strategy is strongly dominated if another strategy has cost less than or equal to it and effect greater than or equal to it, with at least one strict inequality.

>>> import numpy as np >>> from voiage.methods.dominance import calculate_strong_dominance >>> calculate_strong_dominance(np.array([10.0, 12.0]), np.array([1.0, 0.9])) [1]

Parameters:

  • costs np.ndarray | list[float]
  • effects np.ndarray | list[float]

Returns: list[int]