Does anyone know a fast algorithm for evaluating 7 card poker hands? Something which is more efficient than simply brute-force checking a every 21 5-card combination of hands fr
Glad you asked :) Yes, here's a brand new solution that may be just the ticket:
Code: http://code.google.com/p/specialkpokereval/
Blog: http://specialk-coding.blogspot.com/2010/04/texas-holdem-7-card-evaluator_23.html
A commercial-grade evolution of this evaluator is available for the iPhone/iPod Touch via iTunes Store. It's called "Poker Ace".
An excellent summary of various solutions complete with links is found on James Devlin's blog "Coding The Wheel".
One evaluator not yet discussed there is Klaatu's.
Good luck!