Search the web
Sign In
New User? Sign Up
pokersource · Poker Source
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
draft java JNI wrapper around poker-eval   Message List  
Reply | Forward Message #54 of 355 |
I checked in draft java JNI support for poker-eval. I wrapped only
the low-level hand eval functions, though it makes sense to
eventually wrap the harder-working enumeration functions. I did not
define any Java classes for Card, Deck, and so on. Instead the eval
methods accept a hand in the form of two int[] arrays, one
indicating the rank of each card and the other the suit. There are
constants for these that match the C definitions. I figure it's
best to stay close to the metal for now.

The reason I did this is that I designed an SAIE (subjective all-in
equity) calculator: when it came time to code it up I realized that
the parsing and input representation would be easier in java than in
C. It's odd how fast the standard java library eclipsed the
standard C library in functionality.

I would be happy to hear comments on the draft implementation.

-Michael M





Wed May 1, 2002 2:57 am

mjmaurer
Online Now Online Now
Send Email Send Email

Forward
Message #54 of 355 |
Expand Messages Author Sort by Date

I checked in draft java JNI support for poker-eval. I wrapped only the low-level hand eval functions, though it makes sense to eventually wrap the...
mjmaurer
Online Now Send Email
May 1, 2002
2:57 am

Hi Michael, I have a JNI wrapper for Poker-eval. But I urgently need one for Omaha-evaluator. I was using a package probably written by u for Poker-eval which...
bumba1979
Offline Send Email
Jul 29, 2003
4:19 am

... gave ... the ... Arindam, You're probably right about the cause of the problem. When I added the draft JNI support, I only implemented it for unix-style ...
Michael Maurer
mjmaurer
Online Now Send Email
Aug 6, 2003
7:45 am

Hi Michael, Indeed I found the pokersource very helpful. Yup, I'm working in a project to develop poker games. It's interesting and challenging too. We have...
arindam.mitra@...
bumba1979
Offline Send Email
Dec 11, 2003
8:42 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help