pub struct CardAbstraction {
pub flop: Option<usize>,
pub turn: Option<usize>,
pub river: Option<usize>,
}Expand description
Which streets let hands of similar strength share one strategy (bucketing).
Some(n) groups each player’s combos on that street into at most n
percentile buckets of hand strength that share a strategy. Tied strengths
stay in one bucket, so there can be fewer than n. None solves the street
exactly, and the default (all None) never buckets. Flop and turn buckets
use the mean river strength over the remaining runouts; river buckets use
the exact strength.
Fields§
§flop: Option<usize>Bucket count for decisions on a 3-card board.
turn: Option<usize>Bucket count for decisions on a 4-card board.
river: Option<usize>Bucket count for decisions on a 5-card board.
Trait Implementations§
Source§impl Clone for CardAbstraction
impl Clone for CardAbstraction
impl Copy for CardAbstraction
Source§impl Debug for CardAbstraction
impl Debug for CardAbstraction
Source§impl Default for CardAbstraction
impl Default for CardAbstraction
impl Eq for CardAbstraction
Source§impl Hash for CardAbstraction
impl Hash for CardAbstraction
Source§impl PartialEq for CardAbstraction
impl PartialEq for CardAbstraction
impl StructuralPartialEq for CardAbstraction
Auto Trait Implementations§
impl Forget for CardAbstraction
impl Freeze for CardAbstraction
impl Move for CardAbstraction
impl RefUnwindSafe for CardAbstraction
impl Send for CardAbstraction
impl Sync for CardAbstraction
impl Unpin for CardAbstraction
impl UnsafeUnpin for CardAbstraction
impl UnwindSafe for CardAbstraction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more