Poker-AI.org

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

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Feb 16, 2020 4:39 pm 
Offline
New Member

Joined: Sun Feb 16, 2020 3:27 pm
Posts: 2
After trying my hand at writing a hand evaluator in Java and getting some poor results I've been looking around at what other people have done. From what I can make out the Ray W 2+2 algorithm (from years back) is the best. Is this still the case? If it is does anyone have code that shows how it is used? I have the PerformanceTest2 class (viewtopic.php?f=24&t=2390) bundled with the code but it doesn't really show how the hands are created and evaluated.

Thanks
Leon


Top
 Profile  
 
PostPosted: Mon Feb 17, 2020 6:58 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
Have you read the remainder of the thread you referenced?


Top
 Profile  
 
PostPosted: Sun Mar 01, 2020 12:35 pm 
Offline
New Member

Joined: Sun Feb 16, 2020 3:27 pm
Posts: 2
Thanks for the reply. I thought I had but now I see it was a treasuretrove.

I've got something up and running now giving several million evaluations a second.

I wanted to benchmark against Pokerstove with hero having AA and villian having 100% range. I think this is 2,598,960 * 1,326 ~3.5 billion combinations.

Pokertove completes this enumeration in a second claiming several billion games per second.

I don't see how I can ever get near this figure, at the moment my program takes several minutes.

When Pokerstove switches to Montecarlo it suddenly drops to millions of games per second.

I can only assume Pokerstove has some clever way of discounting some of those billion combinations in evaluate mode? Do you know?


Top
 Profile  
 
PostPosted: Mon Mar 02, 2020 11:22 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
skeldol wrote:
I can only assume Pokerstove has some clever way of discounting some of those billion combinations in evaluate mode? Do you know?


That is correct, but I don't know how he does it. Andrew Prock did vaguely describe it once but I can't find it now. I have a suspicion that you can't use that approach for all possible problems though. The source is out there.


Top
 Profile  
 
PostPosted: Mon Mar 02, 2020 11:24 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
skeldol wrote:
I've got something up and running now giving several million evaluations a second.


You should get over 100 million evals / sec


Top
 Profile  
 
PostPosted: Mon Mar 02, 2020 8:11 pm 
Offline
Regular Member

Joined: Wed Mar 18, 2015 10:02 am
Posts: 80
Have anyone tried snapcall?
https://github.com/platatat/SnapCall


Top
 Profile  
 
PostPosted: Tue Mar 03, 2020 11:41 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
https://poker-ai.org/archive/pokerai.or ... &hilit=lut might interest you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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