-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Johan Euphrosine wrote:
> On Tue, 2009-06-09 at 17:52 +0200, Loic Dachary wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> Hi,
>>
>> ( echo import pokereval ; echo 'print
>>
pokereval.PokerEval().poker_eval(game="holdem",pockets=[["kd","kh"],["ks","kc"]],
>> dead=[], board=["__","__","__","__","__"])' ) | python {'info':
>> (1712304, 0, 1), 'eval': [{'winlo': 0, 'tielo': 0, 'winhi':
>> 37210, 'scoop': 37210, 'loselo': 0, 'ev': 500, 'losehi': 37210,
>> 'tiehi': 1637884}, {'winlo': 0, 'tielo': 0, 'winhi': 37210,
>> 'scoop': 37210, 'loselo': 0, 'ev': 500, 'losehi': 37210, 'tiehi':
>> 1637884}]}
>>
>> but the same with the odds webservice will give imprecise results
>> because it insists on iterating with monte carlo. It should be
>> fixed by detecting that there is not enough combinations to
>> deserve a monte carlo exploration.
>>
>
> Is there a pokereval method to detect if there is enough
> combinations to deserve a monte carlo exploration ?
I don't think so. You need to compute the number of combinations,
knowing the number of cards in the deck and the number of placeholders.
Cheers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkovkjAACgkQ8dLMyEl6F22lzACeMbWxf9gaqt43UQVcxio8+lli
s70An3y7PPwtWqVb06cj/unChH3eLncv
=B78Z
-----END PGP SIGNATURE-----
begin:vcard
fn:Loic Dachary
n:Dachary;Loic
org:pokersource
adr:;;12 bd Magenta;Paris;;75010;France
email;internet:[email protected]
title:Senior Developer
tel;work:+33 9 51 18 43 38
tel;cell:+33 6 64 03 29 07
x-mozilla-html:FALSE
url:http://dachary.org/
version:2.1
end:vcard
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users