I also posted the some old University of Alberta java code that was released as Open Source, but doesn't appear to be available anywhere. This is possibly because it became the basis for Poker Academy's Meerkat API.
http://thefell.googlepages.com/pokermisc Cheers, Ian Fellows http://thefell.googlepages.com/ -----Original Message----- From: [EMAIL PROTECTED] Hi all, Perhaps some of you might find some headers I have made useful. I found it very difficult to wade through and use the poker-eval functions as I'm not all that great of a programmer, and the documentation leaves something to desire. I created some higher level C++ classes based on an early version of the Meercat API (from the University of Alberta). The functions are still relatively fast, and are very easy to use. I have also attached a compiled version of poker-eval for windows (visual studio). I used version 129, as it was the last one that would compile. I'm also going to put these up on my website: http://thefell.googlepages.com/Research hope these are helpful to someone, Ian Fellows http://thefell.googlepages.com p.s. I took these headers out of a larger project, so let me know if they need to be altered in any way to work. I'm interested in any comments or additions people have. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Simon Guinot Sent: Friday, March 14, 2008 2:54 AM To: Loic Dachary Cc: [EMAIL PROTECTED]; [email protected]; Kevin Jones Subject: Re: [Pokersource-users] hand distributions/ranges On Wed, Mar 12, 2008 at 09:56:11PM +0100, Loic Dachary wrote: > Kevin Jones wrote: > >Is there any support in poker-eval or pypoker-eval for comparing hand > >distributions as opposed to just comparing specific hands? For > >example, I'd like to evaluate how AA does against all the hands in the > >range AJs+. This is valuable for seeing how your hand matches up > >against an opponents range of possible hands. It sounds like the Java > >class built on top of poker-eval might, but it doesn't look like it is > >supported, I haven't used Java much in that past and would rather > >focus on python or C. I've found other GUI apps (pokerstove) that do > >this, but no command line tools or libraries. > > > > > Neither do I. Now that Java is Free Software, the support for the Java > part might become > active again. It would be nice to ask people who do pokerstove to share > their code in > pokersource.info. > >I'm guessing the answer to my question is no. If this is the case > >could anyone recommend the best way to go about implementing something > >like this? There has to be a better way then comparing my hand versus > >every possible hand in a range separately then weighing and averaging > >the differences. At least I'd think so. I just can't think of it. > > > The hands are encoded so that a stronger hand has a higher numerical value. > Simon (in CC) may have ideas. He is thinking about writing a poker bot > and such > a feature would be valuable to a bot. Convert a hand into a numerical value is a good idea.... it can permit quick comparision between hands... A poker bot want that... But to give an accurate result, i think that a pocket card enumeration is needed. Card to value conversion lose informations... it seems quite difficult to evaluate if a card draw help a hand value (or a range of hand value). > > I think there is a need for a function that focuses on the value of the > hand instead of the cards. > The library does not know when a player is drawing dead and will hapily > enumerate all the cards. Speed up the enumeration by discarding useless draw sounds great... But... speed up the enumeration for some specific cases could be at the cost of slowing down generic case processing. > Knowledge of the current hand values and how they can improve would > allow for a much faster > exploration. Not sure :) Simon _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
