|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.javaflair.pokerprophesier.api.helper.MyHandStatsHelper
public class MyHandStatsHelper
A helper which contains the probabilities of my making a particular hand by the river card. The probabilities are determined by a combination of performing a mathematical enumeration of all possible hands and analysis of my outs.
The helper can not be instantiated directly, rather a reference must be
retrieved from the
PokerProphesierAdapter
after the
PokerProphesierAdapter.runMySimulations(HoleCards, CommunityCards, int, int)
simulator method is executed.
The helper is populated during the following game states:
PokerProphesierAdapter.HOLE_CARDS_DEALT,
PokerProphesierAdapter.FLOP_CARDS_DEALT
and
PokerProphesierAdapter.TURN_CARD_DEALT.
PokerProphesierAdapter,
PokerProphesierAdapter.getMyHandStatsHelper()| Method Summary | |
|---|---|
float[] |
getAllProbs()
Returns all of the probabilities as an array, in descending hand order (straight flush, four-of-a-kind etc.). |
float |
getFlushProb()
Returns the probability of making a flush. |
float |
getFourOfAKindProb()
Returns the probability of making four-of-a-kind. |
float |
getFullHouseProb()
Returns the probability of making a full house. |
float |
getHighCardProb()
Returns the probability of making a high card hand. |
float |
getPairProb()
Returns the probability of making a pair. |
float |
getStraightFlushProb()
Returns the probability of making a straight flush. |
float |
getStraightProb()
Returns the probability of making a straight. |
float |
getThreeOfAKindProb()
Returns the probability of making three-of-a-kind. |
float |
getTotalProb()
Returns the sum of all hand probabilities. |
float |
getTwoPairsProb()
Returns the probability of making two pairs. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public float getHighCardProb()
public float getPairProb()
public float getTwoPairsProb()
public float getThreeOfAKindProb()
public float getStraightProb()
public float getFlushProb()
public float getFullHouseProb()
public float getFourOfAKindProb()
public float getStraightFlushProb()
public float getTotalProb()
public float[] getAllProbs()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||