pygambit.gambit.Game.nodes#

Game.nodes#

The set of nodes in the game.

Iteration over this property yields the nodes in the order of depth-first search.

Changed in version 16.4: Changed from a method nodes() to a property.

Raises:

UndefinedOperationError – If the game does not have a tree representation.