pygambit.gambit.History#

class pygambit.gambit.History(iterable=(), /)#

An immutable sequence of `HistoryTransition`s identifying a node (or an information set/event, via its canonical member) by the path of actions taken to reach it from the root.

Added in version 17.0.0.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

actions

The plain tuple of action labels, dropping the player/state context each step also carries.