pygambit.gambit.StrategySupportProfile.is_dominated#
- StrategySupportProfile.is_dominated(player: str, strategy: str, strict: bool, external: bool = False) bool#
Returns whether the strategy with label strategy, belonging to the player with label player, is dominated.
- Parameters:
player (str) – The label of the player to whom the strategy belongs.
strategy (str) – The label of the strategy to check.
strict (bool) – If True, only checks for strict dominance.
external (bool, default False) – The default is to consider dominance only by strategies which are in the support for the player. If True, strategies which are dominated by another strategy not in the support profile are also considered.
- Raises:
KeyError – If no player in the game has the label player, or the player has no strategy with the label strategy.
