pygambit.gambit.Infoset#
- class pygambit.gambit.Infoset#
An information set in a
Game.An information set belonging to a personal player is a decision: the point at which that player chooses an action, and so the object of potential optimisation. An information set belonging to the chance player is instead called an event: its probability distribution over actions is exogenously specified, not chosen.
Methods
precedes(node)Return whether this information set precedes node in the game tree.
Attributes
The set of actions at the information set.
The
Gameto which the information set belongs.Whether the information set is absent-minded.
Whether the information set belongs to the chance player, i.e. is an event rather than a decision.
Get or set the text label of the information set.
The set of nodes which are members of the information set.
numberReturns the number of the information set for its player.
The set of actions taken by the player immediately preceding the member nodes in the information set.
The player who has the move at this information set.
Returns a list of all terminal Node objects consistent with it.
