gameanalysis.dominance module

Module for computing dominated strategies

gameanalysis.dominance.iterated_elimination(game, criterion, *, conditional=True)[source]

Return a restriction resulting from iterated elimination of strategies

Parameters
  • game (Game) – The game to run iterated elimination on

  • criterion ({'weakdom', 'strictdom', 'neverbr'}) – The criterion to use to eliminated strategies.

  • conditional (bool) – Whether to use conditional criteria. In general, conditional set to true will assume that unobserved payoffs are large. See the other methods for a more detailed explanation

gameanalysis.dominance.never_best_response(game, *, conditional=True)[source]

Return a mask of the strategies that are never a best response

If conditional, then missing data is treated as a best response. The counted best response will be the largest deviation that has data.

gameanalysis.dominance.strictly_dominated(game, *, conditional=True)[source]

Return a mask of the strategies that are strictly dominated

If conditional, then missing data will be treated as dominating.

gameanalysis.dominance.weakly_dominated(game, *, conditional=True)[source]

Return a mask of the strategies that are weakly dominated

If conditional, then missing data will be treated as dominating.