pygambit.gambit.Node#
- class pygambit.gambit.Node#
A node in a
Game.Methods
append_move(player[, actions])Add a move to a terminal node, at the Infoset infoset.
copy_tree(node)Copies the subtree rooted at this node to node.
delete_parent()Deletes the parent node of this node, and all subtrees rooted in the parent other than the one containing this node.
delete_tree()Deletes the entire subtree rooted at this node.
insert_move(player[, actions])Insert a move at a node, at the
Infosetinfoset.is_successor_of(node)Returns whether this node is a successor of node.
move_tree(node)Moves the subtree rooted at this node to node.
Attributes
The set of children of this node.
Gets the
Gameto which the node belongs.The information set to which this node belongs.
Returns whether the node is the root of a proper subgame.
Returns whether this is a terminal node of the game.
The text label associated with the node.
The node which is immediately after this one in its parent's children.
Returns the outcome attached to the node.
The parent of this node.
The player who makes the decision at this node.
The action which leads to this node.
The node which is immediately before this one in its parent's children.
