Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 1:55 pm

All times are UTC




Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sun Oct 27, 2013 1:52 pm 
Offline
Junior Member

Joined: Thu May 23, 2013 11:35 pm
Posts: 23
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


Top
 Profile  
 
PostPosted: Sun Oct 27, 2013 4:10 pm 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
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.


Top
 Profile  
 
PostPosted: Sun Oct 27, 2013 11:24 pm 
Offline
Junior Member

Joined: Thu May 23, 2013 11:35 pm
Posts: 23
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


Top
 Profile  
 
PostPosted: Thu Oct 31, 2013 10:37 am 
Offline
Junior Member

Joined: Thu Mar 07, 2013 1:14 am
Posts: 12
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.


Top
 Profile  
 
PostPosted: Fri Mar 25, 2016 9:37 pm 
Offline
New Member

Joined: Wed Aug 14, 2013 5:53 pm
Posts: 4
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.


Attachments:
File comment: Very fast poker hand evaluator for 5 to 7 cards, written in Java.
evaluator.zip [42.35 KiB]
Downloaded 840 times
Top
 Profile  
 
PostPosted: Mon Mar 27, 2017 7:32 pm 
Offline
New Member

Joined: Mon Mar 27, 2017 5:22 pm
Posts: 1
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


Top
 Profile  
 
PostPosted: Sat May 13, 2017 7:32 pm 
Offline
New Member

Joined: Tue Mar 01, 2016 6:19 am
Posts: 4
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++.


Top
 Profile  
 
PostPosted: Sun May 14, 2017 9:05 am 
Offline
Senior Member
User avatar

Joined: Sun Mar 10, 2013 10:31 am
Posts: 139
Here is my C++ evaluator


Attachments:
evaluator.zip [4.71 KiB]
Downloaded 844 times
Top
 Profile  
 
PostPosted: Sat Sep 01, 2018 11:03 am 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
Does anyone have the Steve Brecher C code? His site appears to be offline.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group