Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.Action#

class pygambit.gambit.Action#

A choice available at an Infoset in a Game.

Methods

precedes(node)

Returns whether node precedes this action in the extensive game.

Attributes

infoset

Get the information set to which the action belongs.

label

Get or set the text label of the action.

number

Returns the number of the action at its information set.

prob

Get the probability a chance action is played.