PokerSource Java API

org.pokersource.enum
Class MatchupOutcome

java.lang.Object
  extended by org.pokersource.enum.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, double[] matchEV)
           
 
Method Summary
 void merge(MatchupOutcome other)
          Merge the results of two outcomes for the same matchup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matchProb

public double matchProb

matchEV

public double[] matchEV
Constructor Detail

MatchupOutcome

public MatchupOutcome(double matchProb,
                      double[] matchEV)
Method Detail

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 Java API

PokerSource Home Page - Learn how you can contribute!