Skip to main content

Module range

Module range 

Source
Expand description

Hand ranges: the standard 169 canonical starting hands (e.g. “AKs”, “AKo”, “AA”), each with a weight in 0.0..=1.0, expandable into concrete card-pair combos with dead-card removal applied.

Structs§

Combo
One concrete two-card starting hand and its weight in a range.
Range
A weighted preflop range, keyed by canonical hand notation.

Enums§

RangeError
Why a range spec or hand weight was rejected.

Functions§

all_canonical_hands
All 169 canonical hand strings (13 pairs, 78 suited, 78 offsuit).