Files
pokerfreak/src/cfr/frozen_equity.rs
T
mmintelandClaude Opus 5.5 7f40fa49a0 CFR charts with both blinds as defenders, short deck tables
EP, MP, CO and BTN now play three-player games against small and big
blind (push/fold and open/call/3-bet trees, CFR+ for three players,
exploitability summed over all three best responses). Deal weights and
three-way shares are documented approximations. Short deck gets its own
equity table and charts from the same generator (--deck short).

Open width shrinks in EP/MP (e.g. EP 100bb 0.291 -> 0.249, MP 40bb
0.357 -> 0.293); frozen exploitability stays at 0-4 micro-bb (full) and
0-9 micro-bb (short). Lookup and advice cover SB vs open/jam, BB after
an SB call and the opener vs an SB 3-bet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 15:02:45 +01:00

19 lines
742 B
Rust

//! The frozen equity matrices (`generated_equity.rs`, `generated_equity_short.rs`) as values.
use super::chart_deck::ChartDeck;
use super::equity_matrix::EquityMatrix;
use super::{generated_equity, generated_equity_short};
/// The full-deck table. Never fails: an unreadable table degrades to coin flips instead of a panic.
pub fn frozen_equity() -> EquityMatrix {
frozen_equity_for(ChartDeck::Full)
}
pub fn frozen_equity_for(deck: ChartDeck) -> EquityMatrix {
let triangle: &[u16] = match deck {
ChartDeck::Full => &generated_equity::TRIANGLE,
ChartDeck::Short => &generated_equity_short::TRIANGLE,
};
EquityMatrix::from_triangle(triangle).unwrap_or_else(|_| EquityMatrix::neutral())
}