Poker-AI.org

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

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Apr 07, 2022 1:09 am 
Offline
New Member

Joined: Mon Mar 28, 2022 10:43 pm
Posts: 3
What is the current method with which isomorphisms are generated? It is simple enough to construct holdem preflop isomorphisms, but then it gets more complicated with flop/turn/river bucket generation, and even more so with dealing with games outside of holdem. Are there any generalized techniques?


Top
 Profile  
 
PostPosted: Fri Apr 08, 2022 9:48 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
I did this four years ago and I really cant remember much about it. I had a look at the code but couldn't understand it in the time I have available There are several versions so I don't know which is correct so will not post it since I don't want to have to defend something which turns out to be wrong. But maybe this will be helpful

/* Generates legal suit patterns for all legal rank patterns.
*
* Legal rank patterns are 222, 223, 233, 234 but not 232, 235 or 333. For speed only prototypes are generated.
* Legal suit patterns are ccc, ccd, cdc, cdd, cdh but not cch, dcc.
* Not all legal suit patterns can be combined with all legal rank patterns. Clearly 222 and ccc are impossible.
* Some rank suit combinations are duplicates. eg 2234 cdcd and cddc
*
* The duplicates are removed finding ranks by suit. eg 2c2d3c4d becomes c23 d24, and 2c2d3d4c becomes c24 d23.
*
*/

Strikes me the state machine that underlies the evaluator I posted does the job too.

Sorry I can't help more


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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