org.pokersource.enum

Class MatchupOutcome


public class MatchupOutcome
extends java.lang.Object

Encodes the probability and pot equity for each player of a single matchup, where a matchup is a confrontation between players who each hold a single known hand.
Author:
Michael Maurer <mjmaurer@yahoo.com>
See Also:
HandMatchup

Field Summary

double[]
matchEV
double
matchProb

Constructor Summary

MatchupOutcome(double matchProb, matchEV[] )

Method Summary

void
merge(MatchupOutcome other)
Merge the results of two outcomes for the same matchup.

Field Details

matchEV

public double[] matchEV

matchProb

public double matchProb

Constructor Details

MatchupOutcome

public MatchupOutcome(double matchProb,
                      matchEV[] )

Method Details

merge

public void merge(MatchupOutcome other)
Merge the results of two outcomes for the same matchup. The merged EV is the weighted average of the two outcome EVs, with the weight being the probability assigned to each matchup. This method can be used to keep a running average of outcomes for a specific matchup; this is useful only when the outcome EV is estimated by a monte carlo sample of outcomes.

PokerSource Home Page - Learn how you can contribute!