Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #231  
Old 08-23-2007, 03:15 PM
mykey1961 mykey1961 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 249
Default Re: 7 Card Hand Evaluators

A second Table could give the Minimum, and Maximum possible Hand Values for each State.

Value = StateValue[State].Minimum;
Possible = StateValue[State].Maximum;

NewState = Table[State,NextCard];
Reply With Quote
  #232  
Old 08-23-2007, 04:29 PM
RayW RayW is offline
Junior Member
 
Join Date: Mar 2005
Posts: 24
Default Re: 7 Card Hand Evaluators

[ QUOTE ]
Hey are there any evaluators out there that stop on the flop (5 cards)?

[/ QUOTE ]

Well, you can use cactus key's code, pokersource, or the evaluator here I have the hand strength for 5 cards in the 0 (zero) entry. There are many more to choose from than just the ones listed. Depends what you want to do. Well, since we are on that subject, what do you want to do with it?

RayW...
Reply With Quote
  #233  
Old 08-25-2007, 07:07 PM
Al P Al P is offline
Senior Member
 
Join Date: Jan 2005
Location: Weighed down in the Undertow
Posts: 796
Default Re: 7 Card Hand Evaluators

Just crunch some raw numbers - you know like AA vs. 33 only seeing the flop or AK vs. 44 only seeing the flop. 33 is 7.5:1 against flopping a set but does an evaluator come out with those exact numbers or something different because of set over set, etc.
Reply With Quote
  #234  
Old 08-25-2007, 11:35 PM
mykey1961 mykey1961 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 249
Default Re: 7 Card Hand Evaluators

AA is ahead of 33 88.7951% on the flop
AKo is ahead of 44 31.0130% on the flop
AKs is ahead of 44 31.8311% on the flop
Reply With Quote
  #235  
Old 08-27-2007, 02:29 PM
Adrian20XX Adrian20XX is offline
Senior Member
 
Join Date: Dec 2005
Posts: 172
Default Re: 7 Card Hand Evaluators

Hi,
If you are looking for a calculator (being the difference that is a complete and closed application instead of a function), there is a very good one at ProPokerTools.
Here is the link to the flop of AA vs. 33 and the link to AK vs. 44
I also remember that in this site you can get this results as numbers instead of the graph, but don't remember exactly how.
Regards ...
Reply With Quote
  #236  
Old 08-28-2007, 03:22 PM
Adrian20XX Adrian20XX is offline
Senior Member
 
Join Date: Dec 2005
Posts: 172
Default Re: 7 Card Hand Evaluators

[ QUOTE ]
[ QUOTE ]
[ QUOTE ]
If someone could figure out a way to assign a unique index value between 1 and 133784560 for 7 unordered cards, you could dump everything into a 133 MB lookup table.


[/ QUOTE ]
Single byte for hand's strength is not enough, so the table must be 266 MB at least.

Andrzej Nironen

[/ QUOTE ]

Actually it can be done in under 133 MB...


I've got an array of approx 30 million integers.

One way of accessing a hand ranking is:


Rank := Eval[Eval[Eval[Eval[Eval[Eval[Eval[c1]+c2]+c3]+c4]+c5]+c6]+c7];

The general idea is there are:

1 card hands. 52x52
2 card hands. 1326x52
3 card hands. 22100x52
4 card hands. 84448x52
5 card hands. 152607x52
6 card hands. 352443x52

For each N card hand, there are 52 vectors to the appropriate N+1 card hand.

For 6 card hands, instead of vectors to the 7 card hand, the array holds the Hand Ranking of the 7 card hand.

[/ QUOTE ]

Hi,
I'm building my evaluator and I'm having a problem.
Does anybody have the number of states for each different types of 5 cards states?
Mykey gets 152607, but I only have 118313.
TIA & Regards ...

Type States
XaYaZaTaUa 5158
XaYaZaTaX 11440
XaYaZaTaU 14300
XaYaZaTU 28600
XaYaZaXX 3432
XaYaZaXY 3432
XaYaZaXT 34320
XaYaZaTT 11456
XXXXY 156
XXXYY 156
XXXYZ 858
XXYYZ 858
XXYZT 2860
XYZTU 1287
Total 118313
Reply With Quote
  #237  
Old 09-18-2007, 01:11 PM
advis0r advis0r is offline
Member
 
Join Date: Apr 2007
Location: Southern Germany
Posts: 99
Default Re: 7 Card Hand Evaluators

is there an obviously better way for omaha hand evaluations than doing 6 seven card hand evaluations?

im trying to speed up my omaha preflop equity calculations [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #238  
Old 09-18-2007, 02:59 PM
sputum sputum is offline
Senior Member
 
Join Date: Feb 2006
Location: Veni, vidi, badi beati
Posts: 826
Default Re: 7 Card Hand Evaluators

[ QUOTE ]
is there an obviously better way for omaha hand evaluations than doing 6 seven card hand evaluations?

im trying to speed up my omaha preflop equity calculations [img]/images/graemlins/smile.gif[/img]

[/ QUOTE ]
60 5-card hand evaluations? It makes sure you're not playing the board [img]/images/graemlins/tongue.gif[/img]
Will try the Java code later. Built my own but it was rudely hacked together [img]/images/graemlins/blush.gif[/img] This looks HUGELY faster.
Reply With Quote
  #239  
Old 09-18-2007, 03:56 PM
advis0r advis0r is offline
Member
 
Join Date: Apr 2007
Location: Southern Germany
Posts: 99
Default Re: 7 Card Hand Evaluators

lol sorry i was pretty confused when writing the post, of course im doing (4 over 2) * (5 over 3) = 6 * 10 = 60 5-card evaluations already.

my problem is that omaha preflop enumeration isnt possible and my montecarlo simulation is way too slow (i thought it might be because of the evaluation speed). are there any known tricks? what does poker-eval do? [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #240  
Old 09-20-2007, 04:26 AM
pygmyhipo pygmyhipo is offline
Member
 
Join Date: Apr 2005
Posts: 80
Default Re: 7 Card Hand Evaluators

[ QUOTE ]
lol sorry i was pretty confused when writing the post, of course im doing (4 over 2) * (5 over 3) = 6 * 10 = 60 5-card evaluations already.

my problem is that omaha preflop enumeration isnt possible and my montecarlo simulation is way too slow (i thought it might be because of the evaluation speed). are there any known tricks? what does poker-eval do? [img]/images/graemlins/smile.gif[/img]

[/ QUOTE ]

The poker-eval code for Omaha is brute force. It just does the 60 5-card hands and doesn't take advantage of any shortcuts. This is fine for pokenum, since even starting on the flop there are only about ~1k rivers, so that's only 60k evals per player. For preflop pokenum, you would want to use the monte carlo option for boards.

But for heavy duty analysis, strategy studies, etc, I would suggest using the large table lookup ideas in this thread and then enumerating the 60 hands. You should get good cache performance when looking up the 60 cases because they share so many cards. You may need to take care in the array index ordering to get the best result.

-pyg
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:59 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.