Wo kein Solver-Pfad geantwortet hat (Zeit, Notbremse, Mindestiterationen, Lage ausserhalb der Scheibe), loest src/engine/rueckfall.rs ein Ein-Strassen-Teilspiel mit 10 Equity-Klassen je Seite (CFR+, 300 Iterationen, Millisekunden, unabhaengig von frist). Einsprung in decide.rs nach dem letzten Solver-Pfad; unter der Notbremse startet auch das Turnspiel E3 nicht. Begruendung beginnt mit "solver-kern rückfall". Schalter aus = bitgleich; neu in BEKANNTE_SCHALTER. kern_grund: mit KERN_GRUND_ZEIT je Zeile Dauer und Aktion. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
57 lines
1.4 KiB
Rust
57 lines
1.4 KiB
Rust
//! Engine: composes assessment and choice into a decision.
|
|
|
|
pub mod audit;
|
|
pub mod audit_allin;
|
|
pub mod audit_turn;
|
|
pub mod bluff;
|
|
pub mod called;
|
|
pub mod called_equity;
|
|
pub mod check_falle;
|
|
pub mod cbet_luft;
|
|
pub mod decide;
|
|
pub mod dreibet_topf;
|
|
pub mod double_board;
|
|
pub mod effective;
|
|
pub mod flop_spieler;
|
|
pub mod fortsetzung;
|
|
pub mod frist;
|
|
pub mod glaube;
|
|
pub mod glaube_linie;
|
|
pub mod from_plan;
|
|
pub mod multiway;
|
|
pub mod omaha_combos;
|
|
pub mod options;
|
|
pub mod passive;
|
|
pub mod postflop;
|
|
pub mod read_exploit;
|
|
pub mod read_gate;
|
|
pub mod range_combos;
|
|
pub mod range_filter;
|
|
pub mod read_label;
|
|
pub mod multi3_spieler;
|
|
pub mod river3_spieler;
|
|
pub mod river_br;
|
|
pub mod river_spieler;
|
|
pub mod river_subgame;
|
|
pub mod rueckfall;
|
|
pub mod run_twice;
|
|
pub mod semibluff;
|
|
pub mod size_policy;
|
|
pub mod solver_kern;
|
|
pub mod texture_stance;
|
|
pub mod thin_value;
|
|
pub mod turn_game;
|
|
pub mod start;
|
|
pub mod turn_subgame;
|
|
pub mod ueberschuss;
|
|
pub mod ueberwert;
|
|
pub mod uncertainty;
|
|
pub mod vermerk;
|
|
|
|
/// One lock for every unit test that flips a process-wide solver switch (`set_river_spieler`,
|
|
/// `set_turn_ueberall`, `set_flop_spieler`, `set_river3`, `set_turn3`/`set_flop3`, `set_turn_player`):
|
|
/// with one lock per module, a test in one module flipped a switch while another module's test
|
|
/// compared whole `decide` answers.
|
|
#[cfg(test)]
|
|
pub(crate) static SCHALTER_LOCK: std::sync::Mutex<()> = std::sync::Mutex::new(());
|