pygambit.gambit.MixedBehaviorProfile.infoset_prob#
- MixedBehaviorProfile.infoset_prob(infoset: Infoset | str) float | Rational#
Returns the probability with which an information set is reached.
This is the probability that the information set is reached at least once under the profile: the realization probability of its upper frontier, i.e. the members not preceded by another member of the same information set. For a non-absent-minded information set, its upper frontier coincides with it. For an absent-minded information set, with a play passing through it more than once, the members below its frontier are excluded, so this is generally less than the sum of the members’ realization probabilities; see [HalPas21].
- Parameters:
infoset (Infoset or str) – The information set to get the probability 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
Infosetfrom a different game.KeyError – If infoset is a string and no information set in the game has that label.
See also
