PokerSource Java API
A B C D E F G H I J L M N O P R S T U V

A

addAtomic(int, int, int, int) - Method in class org.pokersource.enum.HoldemUniversalGroup
 
addAtomic(int, int, int, int) - Method in class org.pokersource.enum.HoldemAtomicGroup
 
addHandGroup(HandGroup, double) - Method in class org.pokersource.enum.BeliefVector
 
addHandGroupAbsolute(HandGroup, double) - Method in class org.pokersource.enum.BeliefVector
During construction, add a new hand group with its absolute probability of occurrence.
addHandGroupRelative(HandGroup, double) - Method in class org.pokersource.enum.BeliefVector
During construction, add a new hand group with its probability of occurrence relative to the Bayesian probability.
addOffsuit(int, int) - Method in class org.pokersource.enum.HoldemCanonGroup
 
addPair(int) - Method in class org.pokersource.enum.HoldemCanonGroup
 
addRemaining(double) - Method in class org.pokersource.enum.BeliefVector
 
addRemainingAbsolute(double) - Method in class org.pokersource.enum.BeliefVector
During construction, add each hand not yet added with the given absolute probability of occurrence of the entire set of such hands.
addRemainingRelative(double) - Method in class org.pokersource.enum.BeliefVector
During construction, add each hand not yet added with its probability of occurrence relative to its Bayesian probability.
addSuited(int, int) - Method in class org.pokersource.enum.HoldemCanonGroup
 
allGroups() - Static method in class org.pokersource.enum.HoldemCanonGroup
 
AllTests - class org.pokersource.AllTests.
 
AllTests() - Constructor for class org.pokersource.AllTests
 
AsianStudEval - class org.pokersource.eval.AsianStudEval.
 
AsianStudEval() - Constructor for class org.pokersource.eval.AsianStudEval
 

B

BeliefVector - class org.pokersource.enum.BeliefVector.
Represents subjective beliefs about the possible hands held by a player.
BeliefVector(String) - Constructor for class org.pokersource.enum.BeliefVector
Instantiate self from string respresentation.

C

cache - Static variable in class org.pokersource.enum.HoldemHandGroupFactory
 
cardMaskString(long) - Static method in class org.pokersource.game.Deck
Returns a string like "Ac Td 2h" representing the cards in mask.
cardMaskString(long, String) - Static method in class org.pokersource.game.Deck
Returns a string like "Ac Td 2h" representing the cards in mask.
cardString(int, int) - Static method in class org.pokersource.game.Deck
Returns a string like "Ac", "Td", or "2h" representing the card.
computeConditionedHandProb() - Method in class org.pokersource.enum.BeliefVector
 
computeHash() - Method in class org.pokersource.enum.HandMatchup
 
computeUnconditionedHandProb() - Method in class org.pokersource.enum.BeliefVector
 
condHandProb - Variable in class org.pokersource.enum.BeliefVector
The belief probability (conditioned by dead cards) for each atomic starting hand.
createCardIndex(int, int) - Static method in class org.pokersource.game.Deck
Returns a number between 0 and 52 denoting the card index within the deck.
createCardMask(int[], int[]) - Static method in class org.pokersource.game.Deck
Returns a long integer with one bit set for each card present in the ranks/suits arrays.
createCardMask(int, int) - Static method in class org.pokersource.game.Deck
Returns a long integer with one bit set corresponding to the card index.

D

deadCards - Variable in class org.pokersource.enum.BeliefVector
The bitmask of dead cards.
Deck - class org.pokersource.game.Deck.
Some utilities for working with cards and cardmasks in a way that is consistent with all decks used by the poker-eval C library.
Deck() - Constructor for class org.pokersource.game.Deck
 

E

elem - Variable in class org.pokersource.enum.NestedLoopSampling
 
elem - Variable in class org.pokersource.enum.NestedLoopEnumeration
 
Enumerate - class org.pokersource.enum.Enumerate.
Algorithms for enumerating or sampling the outcomes of a poker hand matchup.
Enumerate() - Constructor for class org.pokersource.enum.Enumerate
 
equals(Object) - Method in class org.pokersource.enum.HandMatchup
 
EvalHigh(int[], int[]) - Static method in class org.pokersource.eval.StandardEval
Evaluate a standard deck poker hand for high.
EvalHigh(int[], int[]) - Static method in class org.pokersource.eval.JokerEval
Evaluate a joker deck poker hand for high.
EvalHigh(int[], int[]) - Static method in class org.pokersource.eval.AsianStudEval
Evaluate an asian stud deck poker hand for high.
EvalLow(int[], int[]) - Static method in class org.pokersource.eval.StandardEval
Evaluate a standard deck poker hand for low (no qualifier).
EvalLow(int[], int[]) - Static method in class org.pokersource.eval.JokerEval
Evaluate a joker deck poker hand for low (no qualifier).
EvalLow8(int[], int[]) - Static method in class org.pokersource.eval.StandardEval
Evaluate a standard deck poker hand for low (8 qualifier).
EvalLow8(int[], int[]) - Static method in class org.pokersource.eval.JokerEval
Evaluate a joker deck poker hand for low (8 qualifier).

F

FlopGameSAIE(int, int, int, BeliefVector[], long, long, double[], Map) - Static method in class org.pokersource.enum.SAIE
Compute the subjective all-in equity of each player based on a belief distribution for each player's hands.
fromString(String) - Method in class org.pokersource.enum.HoldemBeliefVector
 
fromString(String) - Method in class org.pokersource.enum.BeliefVector
Instantiate self from string respresentation.

G

GAME_5DRAW - Static variable in class org.pokersource.enum.Enumerate
 
GAME_5DRAW8 - Static variable in class org.pokersource.enum.Enumerate
 
GAME_5DRAWNSQ - Static variable in class org.pokersource.enum.Enumerate
 
GAME_7STUD - Static variable in class org.pokersource.enum.Enumerate
 
GAME_7STUD8 - Static variable in class org.pokersource.enum.Enumerate
 
GAME_7STUDNSQ - Static variable in class org.pokersource.enum.Enumerate
 
GAME_HOLDEM - Static variable in class org.pokersource.enum.Enumerate
 
GAME_HOLDEM8 - Static variable in class org.pokersource.enum.Enumerate
 
GAME_LOWBALL - Static variable in class org.pokersource.enum.Enumerate
 
GAME_LOWBALL27 - Static variable in class org.pokersource.enum.Enumerate
 
GAME_OMAHA - Static variable in class org.pokersource.enum.Enumerate
 
GAME_OMAHA8 - Static variable in class org.pokersource.enum.Enumerate
 
GAME_RAZZ - Static variable in class org.pokersource.enum.Enumerate
 
getBeliefProb(long) - Method in class org.pokersource.enum.BeliefVector
Return the absolute probability that hand will occur, conditioned on the dead cards.
getHands() - Method in class org.pokersource.enum.HandGroup
 
getHands() - Method in class org.pokersource.enum.BeliefVector
Return an array of bitmasks representing hands with nonzero probability of occurring (conditioned on the dead cards).
getInstance(String) - Static method in class org.pokersource.enum.HoldemHandGroupFactory
 
groupClasses - Static variable in class org.pokersource.enum.HoldemHandGroupFactory
Set of registered classes that we know how to instantiate.
groupProb - Variable in class org.pokersource.enum.BeliefVector
The belief probability (unconditioned by dead cards) of each hand group.

H

HandGroup - class org.pokersource.enum.HandGroup.
A HandGroup represents a set of poker hands that can be referred to by name.
HandGroup() - Constructor for class org.pokersource.enum.HandGroup
 
HandMatchup - class org.pokersource.enum.HandMatchup.
 
HandMatchup(long[]) - Constructor for class org.pokersource.enum.HandMatchup
 
hasAbsolute - Variable in class org.pokersource.enum.BeliefVector
 
hash - Variable in class org.pokersource.enum.HandMatchup
 
hashCode() - Method in class org.pokersource.enum.HandMatchup
 
hasMoreElements() - Method in class org.pokersource.enum.NestedLoopSampling
 
hasMoreElements() - Method in class org.pokersource.enum.NestedLoopEnumeration
 
hasRelative - Variable in class org.pokersource.enum.BeliefVector
 
HoldemAbdulGroup - class org.pokersource.enum.HoldemAbdulGroup.
A holdem hand group representing sets of starting hands defined using abdulian notation.
HoldemAbdulGroup(String) - Constructor for class org.pokersource.enum.HoldemAbdulGroup
 
HoldemAtomicGroup - class org.pokersource.enum.HoldemAtomicGroup.
A holdem hand group representing one exact starting hand such as "AhKh".
HoldemAtomicGroup(String) - Constructor for class org.pokersource.enum.HoldemAtomicGroup
Convert specific starting hand to HoldemAtomicGroup object.
HoldemBeliefVector - class org.pokersource.enum.HoldemBeliefVector.
A concrete implementation of BeliefVector for the game of Holdem.
HoldemBeliefVector(String) - Constructor for class org.pokersource.enum.HoldemBeliefVector
Instantiate from a string representation.
HoldemCanonGroup - class org.pokersource.enum.HoldemCanonGroup.
A holdem hand group representing sets of starting hands defined using canonical notation: "KK", "AQs", "T9".
HoldemCanonGroup(String) - Constructor for class org.pokersource.enum.HoldemCanonGroup
Convert canonical holdem starting hand notation to a HoldemCanonGroup object.
HoldemHandGroup - class org.pokersource.enum.HoldemHandGroup.
 
HoldemHandGroup() - Constructor for class org.pokersource.enum.HoldemHandGroup
 
HoldemHandGroupFactory - class org.pokersource.enum.HoldemHandGroupFactory.
Creates instances of HoldemHandGroup objects from their string representations.
HoldemHandGroupFactory() - Constructor for class org.pokersource.enum.HoldemHandGroupFactory
 
HoldemSMGroup - class org.pokersource.enum.HoldemSMGroup.
A holdem hand group representing sets of starting hands corresponding to Sklansky & Malmuth groups.
HoldemSMGroup(String) - Constructor for class org.pokersource.enum.HoldemSMGroup
 
HoldemUniversalGroup - class org.pokersource.enum.HoldemUniversalGroup.
A holdem hand group representing every possible starting Holdem hand.
HoldemUniversalGroup(String) - Constructor for class org.pokersource.enum.HoldemUniversalGroup
Return a group containing all possible holdem hands

I

isHandInGroup(long) - Method in class org.pokersource.enum.HandGroup
 

J

JokerEval - class org.pokersource.eval.JokerEval.
 
JokerEval() - Constructor for class org.pokersource.eval.JokerEval
 

L

limits - Variable in class org.pokersource.enum.NestedLoopSampling
 
limits - Variable in class org.pokersource.enum.NestedLoopEnumeration
 

M

main(String[]) - Static method in class org.pokersource.AllTests
 
main(String[]) - Static method in class org.pokersource.enum.SAIE
 
main(String[]) - Static method in class org.pokersource.enum.HoldemUniversalGroup
 
main(String[]) - Static method in class org.pokersource.enum.HoldemSMGroup
 
main(String[]) - Static method in class org.pokersource.enum.HoldemCanonGroup
 
main(String[]) - Static method in class org.pokersource.enum.HoldemBeliefVector
 
main(String[]) - Static method in class org.pokersource.enum.HoldemAtomicGroup
 
main(String[]) - Static method in class org.pokersource.enum.HoldemAbdulGroup
 
main(String[]) - Static method in class org.pokersource.enum.Enumerate
A simple test of Enumerate methods.
main(String[]) - Static method in class org.pokersource.eval.StandardEval
A simple demonstration of StandardEval methods.
main(String[]) - Static method in class org.pokersource.eval.JokerEval
A simple demonstration of JokerEval methods.
main(String[]) - Static method in class org.pokersource.eval.AsianStudEval
A simple demonstration of AsianStudEval methods.
matchEV - Variable in class org.pokersource.enum.MatchupOutcome
 
matchHands - Variable in class org.pokersource.enum.HandMatchup
 
matchProb - Variable in class org.pokersource.enum.MatchupOutcome
 
MatchupOutcome - class org.pokersource.enum.MatchupOutcome.
 
MatchupOutcome(double, double[]) - Constructor for class org.pokersource.enum.MatchupOutcome
 
merge(MatchupOutcome) - Method in class org.pokersource.enum.MatchupOutcome
 
mygroup - Variable in class org.pokersource.enum.HoldemSMGroup
 
myhands - Variable in class org.pokersource.enum.HandGroup
Set of Long objects, each a bitmask for one hand.
myspec - Variable in class org.pokersource.enum.HandGroup
String representation of hand group.
myspec - Variable in class org.pokersource.enum.BeliefVector
Our string representation, from the constructor.

N

NestedLoopEnumeration - class org.pokersource.enum.NestedLoopEnumeration.
An iterator that steps through an abritrary number of nested loops, each starting at zero and ending at its own upper limit.
NestedLoopEnumeration(int[]) - Constructor for class org.pokersource.enum.NestedLoopEnumeration
Initializes a nested loop iterator with limits.length dimensions.
NestedLoopSampling - class org.pokersource.enum.NestedLoopSampling.
Like NestedLoopEnumeration, but rather than visiting every entry in turn, randomly samples with replacement.
NestedLoopSampling(int[], int) - Constructor for class org.pokersource.enum.NestedLoopSampling
Initializes a nested loop sampler with limits.length dimensions.
next - Variable in class org.pokersource.enum.NestedLoopEnumeration
 
nextElement() - Method in class org.pokersource.enum.NestedLoopSampling
Return an integer array sampling the next loop indices for each dimension.
nextElement() - Method in class org.pokersource.enum.NestedLoopEnumeration
Return an integer array listing the next loop indices for each dimension.
nsamples - Variable in class org.pokersource.enum.NestedLoopSampling
 

O

org.pokersource - package org.pokersource
 
org.pokersource.enum - package org.pokersource.enum
Provides classes that enumerate or sample the possible outcomes of a poker hand, define hand distributions, define subjective belief probabilities over hand distributions, and compute subjective pot equity based on these beliefs.
org.pokersource.eval - package org.pokersource.eval
Provides access to the fast poker hand evaluators in the C poker library.
org.pokersource.game - package org.pokersource.game
Provides utilities for encoding poker cards and hands and converting to and from string representations.

P

parseCardMask(String) - Static method in class org.pokersource.game.Deck
Returns a long integer with one bit set for each card present in the input string.
parseRank(String) - Static method in class org.pokersource.game.Deck
 
parseSuit(String) - Static method in class org.pokersource.game.Deck
 
PotEquity(int, int, int[][], int[][], int[], int[], int[], int[], double[]) - Static method in class org.pokersource.enum.Enumerate
Compute all-in pot equity of each player's hand, either by complete enumeration of outcomes or by monte carlo sampling.
PotEquity(int, int, long[], long, long, double[]) - Static method in class org.pokersource.enum.Enumerate
Compute all-in pot equity of each player's hand, either by complete enumeration of outcomes or by monte carlo sampling.

R

rand - Variable in class org.pokersource.enum.NestedLoopSampling
 
RANK_2 - Static variable in class org.pokersource.game.Deck
 
RANK_3 - Static variable in class org.pokersource.game.Deck
 
RANK_4 - Static variable in class org.pokersource.game.Deck
 
RANK_5 - Static variable in class org.pokersource.game.Deck
 
RANK_6 - Static variable in class org.pokersource.game.Deck
 
RANK_7 - Static variable in class org.pokersource.game.Deck
 
RANK_8 - Static variable in class org.pokersource.game.Deck
 
RANK_9 - Static variable in class org.pokersource.game.Deck
 
RANK_ACE - Static variable in class org.pokersource.game.Deck
 
RANK_COUNT - Static variable in class org.pokersource.game.Deck
 
RANK_JACK - Static variable in class org.pokersource.game.Deck
 
RANK_JOKER - Static variable in class org.pokersource.game.Deck
 
RANK_KING - Static variable in class org.pokersource.game.Deck
 
RANK_QUEEN - Static variable in class org.pokersource.game.Deck
 
RANK_TEN - Static variable in class org.pokersource.game.Deck
 
rankString - Static variable in class org.pokersource.game.Deck
 
rankString(int) - Static method in class org.pokersource.game.Deck
 

S

SAIE - class org.pokersource.enum.SAIE.
Algorithms for computing subjective all-in equity.
SAIE() - Constructor for class org.pokersource.enum.SAIE
 
setDeadCards(long) - Method in class org.pokersource.enum.BeliefVector
Set the "dead cards", cards that are known not to be available.
smdefs - Static variable in class org.pokersource.enum.HoldemSMGroup
 
StandardEval - class org.pokersource.eval.StandardEval.
 
StandardEval() - Constructor for class org.pokersource.eval.StandardEval
 
SUIT_CLUBS - Static variable in class org.pokersource.game.Deck
 
SUIT_COUNT - Static variable in class org.pokersource.game.Deck
 
SUIT_DIAMONDS - Static variable in class org.pokersource.game.Deck
 
SUIT_HEARTS - Static variable in class org.pokersource.game.Deck
 
SUIT_JOKER - Static variable in class org.pokersource.game.Deck
 
SUIT_SPADES - Static variable in class org.pokersource.game.Deck
 
suite() - Static method in class org.pokersource.AllTests
 
suitString - Static variable in class org.pokersource.game.Deck
 
suitString(int) - Static method in class org.pokersource.game.Deck
 

T

toString() - Method in class org.pokersource.enum.HandGroup
 
toString() - Method in class org.pokersource.enum.BeliefVector
Generate string representation of self; the inverse of fromString().
toStringAtomic() - Method in class org.pokersource.enum.HandGroup
 
toStringAtomic() - Method in class org.pokersource.enum.BeliefVector
Generate a string representation of self that gives probability details for all atomic hands, conditioned on the dead cards.
totalAbsoluteProb() - Method in class org.pokersource.enum.BeliefVector
 
totalRelativeProb() - Method in class org.pokersource.enum.BeliefVector
 

U

uncondHandProb - Variable in class org.pokersource.enum.BeliefVector
The belief probability (unconditioned by dead cards) for each atomic starting hand.
universalGroup - Variable in class org.pokersource.enum.BeliefVector
The universe of all possible hands.

V

validate() - Method in class org.pokersource.enum.BeliefVector
After construction, subclasses should call this for a sanity check.

A B C D E F G H I J L M N O P R S T U V
PokerSource Java API

PokerSource Home Page - Learn how you can contribute!