Skip to main content

Crate opql

Crate opql 

Source

Structs§

PQLBoardRange
PQLError
PQLFraction
Exact rational number used for equity pot shares.
PQLHandRanking
PQLRange
PQLRunner
PQLType

Enums§

InternalError
PQLErrorKind
PQLNumeric
RuntimeError
VmError

Functions§

parse_pql
Parses a full PQL source into a list of statements.

Type Aliases§

DeadCards
PQLBoard
Community-card board (flop, turn, river) used by PQL queries.
PQLBoolean
PQLCard
Single playing card (rank + suit).
PQLCardCount
Integer count of cards.
PQLCardSet
Bitset of cards backed by a 64-bit word.
PQLDouble
Double-precision floating-point value returned by PQL expressions.
PQLEquity
Equity share in [0.0, 1.0].
PQLFlop
PQLFlopHandCategory
Flop-specific hand category (e.g. top pair, bottom two, overpair).
PQLGame
Poker variant (Hold’em, Omaha, Short-deck).
PQLHandType
High-hand classification (pair, flush, full house, …).
PQLHiRating
High-hand rating produced by the evaluator; higher is better.
PQLInteger
PQLLoRating
Low-hand rating; lower is better.
PQLLong
PQLPlayer
Player identifier in a PQL query.
PQLPlayerCount
Integer count of players.
PQLRank
Card rank (2..A, or 6..A in short-deck).
PQLRankSet
Bitset of ranks backed by a 16-bit word.
PQLResult
PQLStreet
Board street (flop, turn, river).
PQLString
PQLSuit
Card suit (spade, heart, diamond, club).
PQLSuitSet
Bitset of suits backed by a 4-bit word.