pygambit.gambit.Game.sort_infosets#

Game.sort_infosets() None#

Sort information sets into a standard order.

When iterating the information sets of a player, the order in which information sets are visited may be dependent on the order of the operations used to build the extensive game. This function sorts each player’s information sets into a standard order, namely, the order in which they are encountered in a depth-first traversal of the tree, and likewise sorts the members of each information set by the order in which they are encountered in a depth-first traversal.

Added in version 16.4.0.