pygambit.gambit.MixedBehavior.__getitem__#

MixedBehavior.__getitem__()#

Returns the mixed action at the information set selector resolves to.

Parameters:

selector (Selector) – An H-built expression resolving to a single node belonging to the information set to return.

Raises:
  • TypeError – If selector is not a Selector.

  • ValueError – If selector resolves to a terminal node, which belongs to no information set, or to a chance event.

  • MismatchError – If the resolved information set does not belong to this player.