Skip to content

A C library for indexing poker hands that respects suit isomorphisms

License

Notifications You must be signed in to change notification settings

RomanKroecker/hand-isomorphism

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poker Hand Isomorphisms

author: Kevin Waugh ([email protected]) date: April 7, 2013

This repository contains a C library for efficiently mapping poker hands to and from a tight set of indices. Poker hands are isomorphic with respect to permutations of the suits and ordering within a betting round. That is, AsKs, KdAd and KhAh all map to the same index preflop.

Please see:

K. Waugh, 2013. A Fast and Optimal Hand Isomorphism Algorithm. In the Second Computer Poker and Imperfect Information Symposium at AAAI

for more details, and src/hand_index.h for the API's description.

About

A C library for indexing poker hands that respects suit isomorphisms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.0%
  • Objective-C 3.0%
  • C++ 2.0%