Algorithm
The algorithm is a numerical approach to quantify the strength of a poker hand where its result expresses the strength of a particular hand in percentile (i.e. ranging from 0 to 1), compared to all other possible hands. The underlying assumption is that an Effective Hand Strength (EHS) is composed of the current Hand Strength (HS) and its potential to improve or deteriorate (PPOT and NPOT): : where: * is the Effective Hand Strength * is the current Hand Strength (i.e. not taking into account potential to improve or deteriorate, depending on upcoming table cards * is the Negative POTential (i.e. the probability that our current hand, if the strongest, deteriorates and becomes a losing hand) * is the Positive POTential (i.e. the probability that our current hand, if losing, improves and becomes the winning hand)Pseudocode
Hand Strength (HS) will enumerate all possible opponent hand cards and count the occurrences where our hand is strongest (+50% of the cases where we are tied):HandStrength(ourcards, boardcards)In addition, EHS will consider the hand potential (i.e. its probabilities to improve or deteriorate):
HandPotential(ourcards, boardcards)
Applicability
EHS is applicable to a wide variety of poker games such as Texas hold 'em poker, Omaha hold 'em poker, ... Given the complexity of the algorithm, it can not be computed manually and has to be used in an Artificial Intelligence context.References
{{Reflist Poker probability