|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Hand | |
---|---|
com.biotools.meerkat |
Uses of Hand in com.biotools.meerkat |
---|
Methods in com.biotools.meerkat that return Hand | |
---|---|
Hand |
GameInfo.getBoard()
Get the board cards |
Hand |
PlayerInfo.getRevealedHand()
Obtain the hand revealed by this player |
Methods in com.biotools.meerkat with parameters of type Hand | |
---|---|
void |
Hand.addHand(Hand h)
Add the cards from a hand to this hand |
static int |
HandEvaluator.compareHands(Hand h1,
Hand h2)
Compares two 5-to-7 hands against each other. |
static int |
HandEvaluator.compareHands(int rank1,
Hand h2)
Compares two 5-7 card hands against each other. |
boolean |
Hand.equals(Hand h)
Returns true if the hands are identical |
void |
Deck.extractHand(Hand h)
Remove all cards in the given hand from the Deck. |
static NChoose2IntTable |
HandEvaluator.getRanks(Hand board)
Given a board, cache all possible two card combinations of hand ranks, so that fast hand comparisons may be done later. |
static double |
HandEvaluator.handRank(Card c1,
Card c2,
Hand h)
Calculates the probability of currently having the best hand against one random opponent. |
static double |
HandEvaluator.handRank(Card c1,
Card c2,
Hand h,
int np)
Calculates the probability of having the best hand against several random opponents. |
static boolean |
HandEvaluator.isTheNuts(Card c1,
Card c2,
Hand board,
NChoose2IntTable rankCache)
Determine if the hand is the nuts (no hands beat it) Does not consider draws, only the immediate conditions. |
static int |
HandEvaluator.rankHand(Card c1,
Card c2,
Hand h)
Get a numerical ranking of this hand. |
static int |
HandEvaluator.rankHand(Hand h)
Get a numerical ranking of this hand. |
int |
HandEval.rankHand(Hand h)
Rank the hand |
static int |
HandEvaluator.rankHand(int c1,
int c2,
Hand h)
Get a numerical ranking of this hand. |
static int |
HandEvaluator.rankHand5(Hand h)
Get a numerical ranking of this hand. |
int |
HandEval.rankHand5(Hand h)
Rank the 5-card hand |
static int |
HandEvaluator.rankHand6(Hand h)
Get a numerical ranking of this hand. |
int |
HandEval.rankHand6(Hand h)
Rank the 6-card hand |
static int |
HandEvaluator.rankHand7(Hand h)
Get a numerical ranking of this hand. |
int |
HandEval.rankHand7(Hand h)
Rank the 7-card hand |
Constructors in com.biotools.meerkat with parameters of type Hand | |
---|---|
Hand(Hand h)
Duplicate an existing hand. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |