pub struct NodeEvaluation {
pub ev: Vec<f64>,
pub equity: Option<Vec<f64>>,
}Expand description
Values at one decision node under a policy, per combo of the acting player.
Combos are in the acting player’s range order. Equity is only reported on a complete five-card board, where it is exact.
Fields§
§ev: Vec<f64>Each combo’s EV from this node on, in input chips.
It is the raw counterfactual value divided by the opponent’s compatible
reach (0.0 when no opponent combo is compatible). Payoffs count half the
initial pot as each player’s own investment, as in Terminal. This is the
value of the whole node under the policy, not of any single action.
equity: Option<Vec<f64>>Each combo’s showdown win probability; Some only on a complete board.
Ties count half. The probability is against the opponent’s compatible,
reach-weighted range at this node, or 0.5 when no opponent combo is
compatible.
Trait Implementations§
Source§impl Clone for NodeEvaluation
impl Clone for NodeEvaluation
Source§impl Debug for NodeEvaluation
impl Debug for NodeEvaluation
Source§impl PartialEq for NodeEvaluation
impl PartialEq for NodeEvaluation
impl StructuralPartialEq for NodeEvaluation
Auto Trait Implementations§
impl Forget for NodeEvaluation
impl Freeze for NodeEvaluation
impl Move for NodeEvaluation
impl RefUnwindSafe for NodeEvaluation
impl Send for NodeEvaluationwhere
RawVecInner: Send,
impl Sync for NodeEvaluationwhere
RawVecInner: Sync,
impl Unpin for NodeEvaluation
impl UnsafeUnpin for NodeEvaluation
impl UnwindSafe for NodeEvaluationwhere
RawVecInner: UnwindSafe,
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