pygambit.gambit.MixedBehaviorProfile.realiz_prob#
- MixedBehaviorProfile.realiz_prob(node: Node | str) float | Rational #
Returns the probability with which a node is reached.
- Parameters:
node (Node or str) – The node to get the payoff for. If a string is passed, the node is determined by finding the node with that label, if any.
- Raises:
MismatchError – If node is a
Node
from a different game.KeyError – If node is a string and no node in the game has that label.