pub struct Exploitability {
pub oop: f64,
pub ip: f64,
pub total: f64,
}Expand description
How much a best response could gain against a policy, in chips.
oop and ip are each player’s best-response value: the range-weighted EV
of deviating to a perfect best response while the other player keeps the
average strategy. In a zero-sum game they cancel at an exact Nash
equilibrium, so total, their average, is 0 there and grows with how much
either side can still gain. Values are in the same chips as the pot (not
mbb or a percentage of the pot), averaged over compatible initial deals
weighted by both ranges. Every field is NaN when that joint weight is zero
or not finite; treat such a result as invalid.
Fields§
§oop: f64OOP’s best-response value against IP’s average strategy, in chips.
ip: f64IP’s best-response value against OOP’s average strategy, in chips.
total: f64(oop + ip) / 2: the exploitability, in chips.
Trait Implementations§
Source§impl Clone for Exploitability
impl Clone for Exploitability
impl Copy for Exploitability
Source§impl Debug for Exploitability
impl Debug for Exploitability
Source§impl PartialEq for Exploitability
impl PartialEq for Exploitability
impl StructuralPartialEq for Exploitability
Auto Trait Implementations§
impl Freeze for Exploitability
impl RefUnwindSafe for Exploitability
impl Send for Exploitability
impl Sync for Exploitability
impl Unpin for Exploitability
impl UnsafeUnpin for Exploitability
impl UnwindSafe for Exploitability
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
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> ⓘ
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> ⓘ
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