- Vorflop: Grenzhand abstaint nicht mehr (Zertainty-Boden), CFR-Mischung raist ab gleicher Haeufigkeit - Postflop: Check realisiert 90 % der Equity, Mehrweg-Wertschwelle zur Haelfte, Wert-Raise nicht mehr als Unsicherheit - engine/size_policy: SPR-Leiter, Baender je Art (Wert 60-75, Bluff 33-50, Nuss bis 125 %), Pot-Kontrolle, duenne Stack-Offs - sizing/preflop: 15-40 BB kleinere Oeffnung - icm: Malmuth-Harville, Risikoaufschlag fuer Calls, decide_with(Option<Turnierlage>) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
1.2 KiB
Rust
34 lines
1.2 KiB
Rust
use super::fit::fit;
|
|
use crate::preflop::effective_stack::effective_stack_bb;
|
|
use crate::game::Spot;
|
|
|
|
/// Open size in big blinds when nobody has raised yet.
|
|
pub const OPEN_BB: f64 = 2.5;
|
|
/// Multiplier on the bet faced for a re-raise.
|
|
pub const RERAISE_FACTOR: f64 = 3.0;
|
|
|
|
/// Between `PUSH_FOLD_BB` and this depth (bb) the sizes are smaller.
|
|
pub const SHORT_BAND_BB: f64 = 40.0;
|
|
/// Smaller open (bb) and re-raise factor in the 15 to 40 bb band.
|
|
pub const SHORT_OPEN_BB: f64 = 2.0;
|
|
pub const SHORT_RERAISE_FACTOR: f64 = 2.5;
|
|
const PUSH_FOLD_BB: f64 = 15.0;
|
|
|
|
/// Wished preflop raise-to: `2.5 bb` when only blinds/limps are faced
|
|
/// (`to_call <= big_blind`), else `3 x` the amount to call; `2 bb` and `2.5 x` for stacks
|
|
/// of 15 to 40 bb.
|
|
pub fn raise_target(spot: &Spot) -> f64 {
|
|
let depth = effective_stack_bb(spot);
|
|
let short = depth > PUSH_FOLD_BB && depth < SHORT_BAND_BB;
|
|
if spot.to_call <= spot.big_blind {
|
|
(if short { SHORT_OPEN_BB } else { OPEN_BB }) * spot.big_blind
|
|
} else {
|
|
(if short { SHORT_RERAISE_FACTOR } else { RERAISE_FACTOR }) * spot.to_call
|
|
}
|
|
}
|
|
|
|
/// The chart `Raise` as a legal size (bounds / allowed sizes applied).
|
|
pub fn raise_size(spot: &Spot) -> Option<f64> {
|
|
fit(spot, raise_target(spot))
|
|
}
|