Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.MixedBehaviorProfile.infoset_prob#

MixedBehaviorProfile.infoset_prob(infoset: Node | str) float | Rational#

Returns the probability with which an information set is reached.

Parameters:

infoset (Infoset or str) – The information set to get the payoff for. If a string is passed, the information set is determined by finding the information set with that label, if any.

Raises:
  • MismatchError – If infoset is an Infoset from a different game.

  • KeyError – If infoset is a string and no information set in the game has that label.