Poker-AI.org http://poker-ai.org/phpbb/ |
|
Java 7-Card Poker Hand Evaluators http://poker-ai.org/phpbb/viewtopic.php?f=24&t=2390 |
Page 2 of 2 |
Author: | algonoob [ Sun Oct 27, 2013 1:52 pm ] |
Post subject: | Re: Java 7-Card Poker Hand Evaluators |
spears wrote: - Why does anyone ever want a 5 or 6 card evaluator? one might want to use immediate hand rank as part of a flop or turn abstraction |
Author: | spears [ Sun Oct 27, 2013 4:10 pm ] |
Post subject: | Re: Java 7-Card Poker Hand Evaluators |
algonoob wrote: spears wrote: - Why does anyone ever want a 5 or 6 card evaluator? one might want to use immediate hand rank as part of a flop or turn abstraction Why are these abstractions considered any good? Evaluations that omit future cards board are of very limited value. If you consider future cards you need a 7 card evaluator, or results derived therefrom. |
Author: | algonoob [ Sun Oct 27, 2013 11:24 pm ] |
Post subject: | Re: Java 7-Card Poker Hand Evaluators |
spears wrote: algonoob wrote: spears wrote: - Why does anyone ever want a 5 or 6 card evaluator? one might want to use immediate hand rank as part of a flop or turn abstraction Why are these abstractions considered any good? Evaluations that omit future cards board are of very limited value. If you consider future cards you need a 7 card evaluator, or results derived therefrom. using both immediate hand rank and potential is better than using only potential. but of course, this 2d method can't compare to state of the art abstractions |
Author: | iKNOWpoker [ Thu Oct 31, 2013 10:37 am ] |
Post subject: | Re: Java 7-Card Poker Hand Evaluators |
There is no such thing as "immediate handrank". But back to the question why one would want a 5-card evaluator. Hint: Holdem is not the only poker variant. |
Author: | supersonic [ Fri Mar 25, 2016 9:37 pm ] | ||
Post subject: | Re: Java 7-Card Poker Hand Evaluators | ||
Hiho, you also need 5-card and 6-card evaluators for Holdem flop and turn hand strength evaluations. I'll attach the evaluator we used in the old forum's SNG Testbed subgroup. It uses a 130 MB lookup table and only jumps to the right index for an evaluation. It's pretty darn fast and generates it's lookup table when the file is not available.
|
Author: | baalbaki [ Mon Mar 27, 2017 7:32 pm ] |
Post subject: | Re: Java 7-Card Poker Hand Evaluators |
I've started developing an app on android where I need to calculate the range vs range equity. The purpose for now is to use pot equity to evaluate what hand makes a good call. So I implemented my hand evaluator and equity calculator but the equity calculations was taking too much time. So I've started using the 7 card evaluator of Klaatu ( https://wiki.csc.calpoly.edu/CPE-480...andeval/klaatu ). So know I want to know how to proceed from this point on to calculate range vs range calculation. Do I run a 10k simulations for each hand in range 1 vs each hand range 2? This should takes time even with the fast hand evaluator. I use Poker equity calculator app on my phone and its calculating to 10 players range vs range equity. Is there a source code in java somewhere that I can use for my app? The slowness of the range vs range calculation is making my app really frustrating to use. Any help is much appreciated! Thanks |
Author: | mru22 [ Sat May 13, 2017 7:32 pm ] |
Post subject: | Re: Java 7-Card Poker Hand Evaluators |
Do you have one in C or C++. I would recommend wrapping a JNI call around that. I found Java evaluators to be slower than the C based ones when running them on the device. I do something similar in my app but I go individual hand vs range instead of range vs range. None the less for the android version I have it makes JNI calls to the Code which is in C++. |
Author: | nefton [ Sun May 14, 2017 9:05 am ] | ||
Post subject: | Re: Java 7-Card Poker Hand Evaluators | ||
Here is my C++ evaluator
|
Author: | HontoNiBaka [ Sat Sep 01, 2018 11:03 am ] |
Post subject: | Re: Java 7-Card Poker Hand Evaluators |
Does anyone have the Steve Brecher C code? His site appears to be offline. |
Page 2 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |