voiage.methods.dominance.calculate_extended_dominance
calculate_extended_dominance
Section titled “calculate_extended_dominance”calculate_extended_dominance([positional or keyword] costs: np.ndarray | list[float] = None, [positional or keyword] effects: np.ndarray | list[float] = None) -> list[int]Return indices removed from the frontier by extended dominance.
Parameters
Section titled “Parameters”costs : numpy.ndarray or list[float] Strategy costs. effects : numpy.ndarray or list[float] Strategy effects.
Returns
Section titled “Returns”list[int] Indices that are neither strongly dominated nor on the frontier.
Extended dominance removes strategies that fall below the linear segment between two frontier strategies and therefore cannot be optimal at any willingness-to-pay threshold.
Examples
Section titled “Examples”>>> import numpy as np >>> from voiage.methods.dominance import calculate_extended_dominance >>> calculate_extended_dominance(np.array([10.0, 11.0, 13.0]), np.array([1.0, 1.2, 1.3])) []
Parameters:
costsnp.ndarray | list[float]effectsnp.ndarray | list[float]
Returns: list[int]