3 Observing Game Solutions
After the game tree has been constructed, you can choose from various parameters to control how the solution will be computed.
These parameters are described in the first section.
After starting the simulation, the current solution can be observed in real time. Using the Hand Ranges tool you can
observe solutions directly in the game tree. Alternative, for Hold'Em, you can open up Hand Grid widgets and view the
solution for a player's entire range at any particular node.
- Simulation Control
- Hand Ranges
- HoldEm Grids
- Simulation Metrics
3.1. Simulation Control:
This widget allows you to control various aspects of a simulation. Each option is described as follows:
- Platform: Choose to run the simulation on the Host CPU or using any available OpenCL Platform.
- Device: Select any available OpenCL Device on the currently selected Platform.
- Precision: Refers to the precision of the floating point numbers used in the Simulation, either single(32bit) or double(64bit).
- Isomorphic Buckets: Checking this causes the Simulation to solve for an abstract, smaller deck using suit isomorphics. For example,
on a monotone flop, say 239 of clubs, this setting will cause diamonds, hearts and spades to be treated the same greatly reducing the memory
requirements of the Simulation.
- Total Threads: The number of host CPU threads to allocate to computing the simulation. For small simulations, a large number of
threads is disadvantageous at some point due to contention. For large simulations, the more threads the better in general.
- Max Threads: This value is the total number of threads available to the Host CPU.
- Time: The total time that the simulation has been running.
- Max Time: When time reaches this point, the simulation will automatically be stopped.
- Number of Nodes: The number of nodes in the current game tree.
- Infosets: In game theory, an information set is a collection of decision nodes in a
game tree that a player cannot distinguish between when it is their turn to move. Essentially the number of game nodes
multiplied by the number of hand ranges available.
- Complete Traversals: A complete traversal occurs when we have visited possible node in every infoset, approximately.
- Average Regrets:
- CPU Ram: An estimate of the amount of CPU Ram required to run the Simulation. It is an underestimate.
- Device Ram: An esimate of the amount of OpenCL device ram required to run the Simulation.
3.2. Displayed Hand Ranges:
This widget allows you to see the current strategy solution and utlity of a range of hands at a selected node.
It also controls what hands strategies are currently shown the in the game tree viewport.
It is designed to visualize the strategy of a small number of hands across the entire tree easily.
The controls are briefly described as follows:
- Community Cards:
By entering community cards, we can limit the number of boards that we are computing strategies
and utilities across. If left empty, the number displayed will be an average across every possible
community card combination.
- Player Values: Displays the total value of the game. It is not an exact value,
but is an approximation that updates several times a second.
- Hand Selections: The selected hands determine what values are currently being
displayed in the game tree viewport.
- Probability: Displays the probability of a given hand to reach the selected node.
Note that it is the probability of reaching without factoring in opponents possible actions.
- Actions: Displays the current solution for a hand at the selected node.
3.3. GameTree:
You can use the mouse by dragging, or standard WASD Gamer key bindings to move around.
Nodes can be in two states, selected or hovered, which will be important later on,
hovering on a node allows you to preview it's solutions in an unlocked hand grid or hand range docking widget.
The history leading up to the node it also displayed in the action history dock.
The shapes of the nodes indicate what type they are.
Square nodes are terminal nodes, ie, showdowns and nodes where everyone but one player has folded.
The rhombi are dealer's nodes. The circle nodes are player's nodes where the number is the player's index.
3.4. Holdem HandGrids
This widget allows us to view the solution of a players entire range at the current node that has been
selected or hovered on. In particular, double clicking a node will open a grid at that node and
any amount of grids can be opened.
Locking the grid will prevent action in the game tree from effecting this one.
The history leading up the selected node is provided in order to allow you to view strategies
on nodes leading up to this one. The colours are also customizable in the options menu.
3.5. Simulation Metrics
- Total Time: The total time that the simulation has been running.
- Total Worker Time: The sum of the time that each worker thread has run.
- Thread Sync Time: How total amount of each time each worker has spent synchronizing.
If this values gets too large, worker threads will start to be destroyed.
- Device Sync Time:
- Worker Wait Frequency: Counts how many times a worker was forced to wait for work from the scheduler.
If this number is getting to large then it means that the number of threads is too high in respect to the size of
the game tree.
- Worker Wait Time: This is the amount of time workers spent wait for work from the scheduler. The time
spent during every Worker Wait Frequency.
- Complete Traversals: A complete traversal is visiting every game tree node with every
possible combination of private hands and community cards. This value is an estimate..
- Tree Traversals: A tree traversal is visiting every game tree node for one particular set of dealt hands and community cards.
- Hand Evaluations: A hand evaluation is the computation that takes a single players hand and community cards and determines it's strength.
- Counterfactual regrets: A breakdown of the current counterfactual regrets at each node, by street. The total values and the strength
of the simulation are correlated in the sense that the smaller the regret value is the better the solution.