Expand description
Hand evaluation: HCP, shortness, Fifths, BUM-RAP, losing trick count, NLTC, Zar points, and Kaplan–Rubens CCCC.
The HandEvaluator trait abstracts over any function that maps a Hand
to a numeric score. The standard schemes (hcp, shortness,
fifths, bumrap, ltc, nltc, zar, hcp_plus) operate on
individual Holdings and are bundled into SimpleEvaluator constants
(FIFTHS, BUMRAP, BUMRAP_PLUS, NLTC) that evaluate a full
hand by summing per-suit results. zar and cccc evaluate the whole
hand at once because they mix per-suit values with hand-wide shape terms.
Structs§
- Simple
Evaluator - Evaluator summing values of suit holdings
Constants§
- BUMRAP
- The BUM-RAP evaluator
- BUMRAP_
PLUS - BUM-RAP with shortness
- FIFTHS
- The Fifths evaluator for 3NT
- NLTC
- New Losing Trick Count
Traits§
- Hand
Evaluator - Trait for hand evaluators
Functions§
- bumrap
- The BUM-RAP evaluator
- cccc
- Kaplan–Rubens CCCC (“Four C’s”) hand evaluation
- fifths
- The Fifths evaluator for 3NT
- hcp
- High card points
- hcp_
plus - High card points plus useful shortness
- ltc
- Plain old losing trick count
- nltc
- New Losing Trick Count
- shortness
- Short suit points
- zar
- Zar points, an evaluation by by Zar Petkov