Skip to main content

native_solver/solver/
mod.rs

1//! Heads-up postflop NLHE: a multi-street betting tree and combo-vectorized
2//! CFR trainer. No side pots or multiway games.
3
4// Implementation modules stay private; their public types are re-exported
5// below. `quality` is public: its independent reference evaluator is a
6// feature in its own right.
7mod cfr;
8mod chips;
9mod discount;
10pub mod quality;
11mod tree;
12
13pub use cfr::{
14    CardAbstraction, Evaluation, Exploitability, NodeEvaluation, Policy, PolicyError, SolverGame,
15    Trainer, TrainerError, TrainerOptions,
16};
17pub use chips::{Chips, CHIP_SCALE};
18pub use discount::{SolverAlgorithm, UpdateSchedule};
19pub use tree::{
20    build_tree, build_tree_bounded, Action, BoardError, GameConfig, Node, Player, Terminal, Tree,
21    TreeError,
22};
23
24mod terminal;