Files
pokerfreak/src/equity/estimate.rs
T

14 lines
420 B
Rust

/// Result of an equity simulation for hero.
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct Estimate {
/// Fraction of trials hero wins outright.
pub win: f64,
/// Fraction of trials hero ties for the best hand.
pub tie: f64,
/// Expected pot share: win + Σ tie / ways. This is "the equity".
pub share: f64,
pub trials: u32,
/// Standard error of `share`.
pub std_error: f64,
}