Alphabetical Index

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

A

During construction, add a new hand group with its absolute probability of occurrence.
During construction, add a new hand group with its probability of occurrence relative to the Bayesian probability.
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.
allGroups() - static method in class org.pokersource.enum.HoldemCanonGroup
AllTests - class org.pokersource.AllTests
AsianStudEval - class org.pokersource.eval.AsianStudEval

B

BaseHandGroup - class org.pokersource.enum.BaseHandGroup
Implements the HandGroup interface in a way that will work for most poker games.
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

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.
compareTo(Object) - method in class org.pokersource.enum.BaseHandGroup
Define default sort order based on string representation.
compareTo(Object) - method in class org.pokersource.util.IntArray
compareTo(Object) - method in class org.pokersource.util.LongArray
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 corresponding to the card index.
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.

D

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.

E

Enumerate - class org.pokersource.enum.Enumerate
Algorithms for enumerating or sampling the outcomes of a poker hand matchup.
equals(Object) - method in class org.pokersource.util.IntArray
equals(Object) - method in class org.pokersource.util.LongArray
EvalHigh(int[],int[]) - static method in class org.pokersource.eval.AsianStudEval
Evaluate an asian stud 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.StandardEval
Evaluate a standard deck poker hand for high.
EvalLow(int[],int[]) - static method in class org.pokersource.eval.JokerEval
Evaluate a joker deck poker hand for low (no qualifier).
EvalLow(int[],int[]) - static method in class org.pokersource.eval.StandardEval
Evaluate a standard deck poker hand for low (no qualifier).
EvalLow8(int[],int[]) - static method in class org.pokersource.eval.JokerEval
Evaluate a joker deck poker hand for low (8 qualifier).
EvalLow8(int[],int[]) - static method in class org.pokersource.eval.StandardEval
Evaluate a standard deck poker hand for low (8 qualifier).

F

Compute the subjective all-in equity of each player based on a belief distribution for each player's hands.
fromFile(String) - method in class org.pokersource.enum.HandValuation
Subclasses should implement this according to their own file format.
fromFile(String) - method in class org.pokersource.enum.HoldemHandOrdering
fromStream(InputStream) - method in class org.pokersource.enum.HandValuation
Subclasses should implement this according to their own file format.
fromStream(InputStream) - method in class org.pokersource.enum.HoldemHandOrdering
Populates self from an input stream.
fromString(String) - method in class org.pokersource.enum.BeliefVector
Instantiate self from string respresentation.
fromString(String) - method in class org.pokersource.enum.HoldemBeliefVector
Instantiate self from string respresentation.

G

GAME_5DRAW - static field in class org.pokersource.enum.Enumerate
GAME_5DRAW8 - static field in class org.pokersource.enum.Enumerate
GAME_5DRAWNSQ - static field in class org.pokersource.enum.Enumerate
GAME_7STUD - static field in class org.pokersource.enum.Enumerate
GAME_7STUD8 - static field in class org.pokersource.enum.Enumerate
GAME_7STUDNSQ - static field in class org.pokersource.enum.Enumerate
GAME_HOLDEM - static field in class org.pokersource.enum.Enumerate
GAME_HOLDEM8 - static field in class org.pokersource.enum.Enumerate
GAME_LOWBALL - static field in class org.pokersource.enum.Enumerate
GAME_LOWBALL27 - static field in class org.pokersource.enum.Enumerate
GAME_OMAHA - static field in class org.pokersource.enum.Enumerate
GAME_OMAHA8 - static field in class org.pokersource.enum.Enumerate
GAME_RAZZ - static field in class org.pokersource.enum.Enumerate
get(Object) - method in class org.pokersource.util.ValueSortedMap
getBeliefProb(long) - method in class org.pokersource.enum.BeliefVector
Return the absolute probability that hand will occur, conditioned on the dead cards.
getGroupSpec() - method in class org.pokersource.enum.BaseHandGroup
getGroupSpec() - method in class org.pokersource.enum.HandGroup
getHands() - method in class org.pokersource.enum.BaseHandGroup
Returns an array of atomic hands (each encoded as a long).
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).
getHands() - method in class org.pokersource.enum.HandGroup
getHandSet() - method in class org.pokersource.enum.BaseHandGroup
getHandSet() - method in class org.pokersource.enum.HandGroup
getInstance(String) - static method in class org.pokersource.enum.HoldemHandGroupFactory
Tries to parse groupSpec into a hand group using the constructors of the list of known classes.
getInstance(String,Class) - static method in class org.pokersource.enum.HoldemHandGroupFactory
Tries to parse groupSpec into a hand group using the gclass constructor.
getValue(org.pokersource.enum.HandGroup) - method in class org.pokersource.enum.HandValuation
Get the numeric value of the hand group.
greater(Comparable) - method in class org.pokersource.util.ValueSortedMap
greater(double) - method in class org.pokersource.enum.HandValuation
Get all groups whose numeric value is greater than the threshold.
greaterEqual(Comparable) - method in class org.pokersource.util.ValueSortedMap
greaterEqual(double) - method in class org.pokersource.enum.HandValuation
Get all groups whose numeric value is greater than or equal to the threshold.

H

HandGroup - interface org.pokersource.enum.HandGroup
A HandGroup represents a set of poker hands that can be referred to by name.
HandMatchup - class org.pokersource.enum.HandMatchup
Represents one poker confrontation in which each player holds one specific hand.
HandMatchup(values[]) - constructor for class org.pokersource.enum.HandMatchup
HandValuation - class org.pokersource.enum.HandValuation
Maintains a mapping from HandGroup to numeric value; defines methods for sorting and selecting subsets of hand groups based on their numeric value.
HandValuation() - constructor for class org.pokersource.enum.HandValuation
HandValuation(InputStream) - constructor for class org.pokersource.enum.HandValuation
HandValuation(String) - constructor for class org.pokersource.enum.HandValuation
hashCode() - method in class org.pokersource.util.IntArray
hashCode() - method in class org.pokersource.util.LongArray
hasMoreElements() - method in class org.pokersource.util.NestedLoopEnumeration
hasMoreElements() - method in class org.pokersource.util.NestedLoopSampling
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 - interface org.pokersource.enum.HoldemHandGroup
A marker interface for subclasses of BaseHandGroup meant to encode holdem hands.
HoldemHandGroupFactory - class org.pokersource.enum.HoldemHandGroupFactory
Creates instances of HoldemHandGroup-implementing objects from their string representations.
HoldemHandOrdering - class org.pokersource.enum.HoldemHandOrdering
Defines an ordering (from 'weakest' to 'strongest') of holdem hand groups.
HoldemHandOrdering(InputStream) - constructor for class org.pokersource.enum.HoldemHandOrdering
HoldemHandOrdering(String) - constructor for class org.pokersource.enum.HoldemHandOrdering
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
HoldemThresholdGroup - class org.pokersource.enum.HoldemThresholdGroup
A holdem-specific implementation of ThresholdHandGroup.
HoldemThresholdGroup(String) - constructor for class org.pokersource.enum.HoldemThresholdGroup
Create a set of hands corresponding to those whose value compares either less than or greater than a threshold value, where the value of each hand is defined by a HandValuation.
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

IntArray - class org.pokersource.util.IntArray
A wrapper around an int[] that is suitable for use as a key in a Map.
IntArray(values[]) - constructor for class org.pokersource.util.IntArray
isHandInGroup(long) - method in class org.pokersource.enum.BaseHandGroup
isHandInGroup(long) - method in class org.pokersource.enum.HandGroup

J

JokerEval - class org.pokersource.eval.JokerEval

K

keyList() - method in class org.pokersource.util.ValueSortedMap

L

less(Comparable) - method in class org.pokersource.util.ValueSortedMap
less(double) - method in class org.pokersource.enum.HandValuation
Get all groups whose numeric value is less than the threshold.
lessEqual(Comparable) - method in class org.pokersource.util.ValueSortedMap
lessEqual(double) - method in class org.pokersource.enum.HandValuation
Get all groups whose numeric value is less than or equal to the threshold.
LongArray - class org.pokersource.util.LongArray
A wrapper around a long[] that is suitable for use as a key in a Map.
LongArray(values[]) - constructor for class org.pokersource.util.LongArray

M

main(String[]) - static method in class org.pokersource.AllTests
main(String[]) - static method in class org.pokersource.eval.AsianStudEval
A simple demonstration of AsianStudEval methods.
main(String[]) - static method in class org.pokersource.enum.Enumerate
A simple test of Enumerate methods.
main(String[]) - static method in class org.pokersource.enum.HandValuation
main(String[]) - static method in class org.pokersource.enum.HoldemAbdulGroup
main(String[]) - static method in class org.pokersource.enum.HoldemAtomicGroup
main(String[]) - static method in class org.pokersource.enum.HoldemBeliefVector
main(String[]) - static method in class org.pokersource.enum.HoldemCanonGroup
main(String[]) - static method in class org.pokersource.enum.HoldemHandOrdering
main(String[]) - static method in class org.pokersource.enum.HoldemSMGroup
main(String[]) - static method in class org.pokersource.enum.HoldemUniversalGroup
main(String[]) - static method in class org.pokersource.eval.JokerEval
A simple demonstration of JokerEval methods.
main(String[]) - static method in class org.pokersource.enum.SAIE
main(String[]) - static method in class org.pokersource.enum.SAIEMain
main(String[]) - static method in class org.pokersource.eval.StandardEval
A simple demonstration of StandardEval methods.
main(String[]) - static method in class org.pokersource.enum.ThresholdHandGroup
main(String[]) - static method in class org.pokersource.util.ValueSortedMap
matchEV - field in class org.pokersource.enum.MatchupOutcome
matchProb - field in class org.pokersource.enum.MatchupOutcome
MatchupOutcome - class org.pokersource.enum.MatchupOutcome
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.
MatchupOutcome(double,matchEV[]) - constructor for class org.pokersource.enum.MatchupOutcome
merge(org.pokersource.enum.MatchupOutcome) - method in class org.pokersource.enum.MatchupOutcome
Merge the results of two outcomes for the same matchup.
myhands - field in class org.pokersource.enum.BaseHandGroup
Set of Long objects, each a bitmask for one hand.
myspec - field in class org.pokersource.enum.BaseHandGroup
String representation of hand group.

N

NestedLoopEnumeration - class org.pokersource.util.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.util.NestedLoopEnumeration
Initializes a nested loop iterator with limits.length dimensions.
NestedLoopSampling - class org.pokersource.util.NestedLoopSampling
Like NestedLoopEnumeration, but rather than visiting every entry in turn, randomly samples with replacement.
NestedLoopSampling(int[]) - constructor for class org.pokersource.util.NestedLoopSampling
NestedLoopSampling(int[],int) - constructor for class org.pokersource.util.NestedLoopSampling
Initializes a nested loop sampler with limits.length dimensions.
nextElement() - method in class org.pokersource.util.NestedLoopEnumeration
Return an integer array listing the next loop indices for each dimension.
nextElement() - method in class org.pokersource.util.NestedLoopSampling
Return an integer array sampling the next loop indices for each dimension.
numCards(long) - static method in class org.pokersource.game.Deck
numHands() - method in class org.pokersource.enum.BaseHandGroup
numHands() - method in class org.pokersource.enum.BeliefVector
Returns the number of atomic hands with nonzero probability of occurring (conditioned on the dead cards).
numHands() - method in class org.pokersource.enum.HandGroup

O

org.pokersource - package
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.
Provides access to the fast poker hand evaluators in the C poker library.
Provides utilities for encoding poker cards and hands and converting to and from string representations.
Provides utility classes used by other org.pokersource packages.

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,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.
Compute all-in pot equity of each player's hand, either by complete enumeration of outcomes or by monte carlo sampling.
put(Object,Comparable) - method in class org.pokersource.util.ValueSortedMap

R

RANK_2 - static field in class org.pokersource.game.Deck
RANK_3 - static field in class org.pokersource.game.Deck
RANK_4 - static field in class org.pokersource.game.Deck
RANK_5 - static field in class org.pokersource.game.Deck
RANK_6 - static field in class org.pokersource.game.Deck
RANK_7 - static field in class org.pokersource.game.Deck
RANK_8 - static field in class org.pokersource.game.Deck
RANK_9 - static field in class org.pokersource.game.Deck
RANK_ACE - static field in class org.pokersource.game.Deck
RANK_COUNT - static field in class org.pokersource.game.Deck
RANK_JACK - static field in class org.pokersource.game.Deck
RANK_JOKER - static field in class org.pokersource.game.Deck
RANK_KING - static field in class org.pokersource.game.Deck
RANK_QUEEN - static field in class org.pokersource.game.Deck
RANK_TEN - static field in class org.pokersource.game.Deck
RankOrdering - class org.pokersource.enum.RankOrdering
Represents the relative hand rank order of one hand matchup outcome.
RankOrdering(values[]) - constructor for class org.pokersource.enum.RankOrdering
rankString(int) - static method in class org.pokersource.game.Deck
Register a new HandValuation that will be referred to as valuationName.

S

SAIE - class org.pokersource.enum.SAIE
Algorithms for computing subjective all-in equity.
SAIEMain - class org.pokersource.enum.SAIEMain
An executable program that provides access to the SAIE calculator.
setDeadCards(long) - method in class org.pokersource.enum.BeliefVector
Set the "dead cards", cards that are known not to be available.
setValue(org.pokersource.enum.HandGroup,double) - method in class org.pokersource.enum.HandValuation
Set the numeric value of the hand group.
StandardEval - class org.pokersource.eval.StandardEval
SUIT_CLUBS - static field in class org.pokersource.game.Deck
SUIT_COUNT - static field in class org.pokersource.game.Deck
SUIT_DIAMONDS - static field in class org.pokersource.game.Deck
SUIT_HEARTS - static field in class org.pokersource.game.Deck
SUIT_JOKER - static field in class org.pokersource.game.Deck
SUIT_SPADES - static field in class org.pokersource.game.Deck
suite() - static method in class org.pokersource.AllTests
suitString(int) - static method in class org.pokersource.game.Deck

T

ThresholdHandGroup - class org.pokersource.enum.ThresholdHandGroup
Given a mapping from hand groups G_i to numeric values, this class allows you to build a new hand group as the union of those G_i whose numeric values are less than or greater than a certain threshold.
ThresholdHandGroup(String) - constructor for class org.pokersource.enum.ThresholdHandGroup
Create a set of hands corresponding to those whose value compares either less than or greater than a threshold value, where the value of each hand is defined by a HandValuation.
toString() - method in class org.pokersource.enum.BaseHandGroup
toString() - method in class org.pokersource.enum.BeliefVector
Generate string representation of self; the inverse of fromString().
toString() - method in class org.pokersource.enum.HandGroup
toString() - method in class org.pokersource.enum.HandValuation
toString() - method in class org.pokersource.util.IntArray
toString() - method in class org.pokersource.util.LongArray
toString() - method in class org.pokersource.util.ValueSortedMap
toStringAtomic() - method in class org.pokersource.enum.BaseHandGroup
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.
toStringAtomic() - method in class org.pokersource.enum.HandGroup

U

universalGroup - field 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.
values - field in class org.pokersource.util.IntArray
values - field in class org.pokersource.util.LongArray
ValueSortedMap - class org.pokersource.util.ValueSortedMap
ValueSortedMap() - constructor for class org.pokersource.util.ValueSortedMap

PokerSource Home Page - Learn how you can contribute!