用于计算德州扑克手牌净值的 Java 库
有谁知道一个快速的java算法\库来计算德州扑克手的赢率或获胜概率(如程序PokerStove)?
Does anyone know a fast java algorithm\library to calculate the equity or the probability of winning (as the program PokerStove) of texas poker hands?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
哦,那是我的领域; )
和 PokerStove 一样快是非常非常难做到的,因为 PokerStove 的速度快得令人难以置信。然而,有几个评估者非常有趣。
这完全取决于您愿意为此使用多少内存以及您的确切需求是什么。例如现在有相当好的在线评估器,不需要安装任何程序(需要安装PokerStove)。
写出伟大(即:快,非常快)扑克评估器的人的名字有“Cactus Kev”、“Paul Senzee”、“Steve Brecher”等(谷歌搜索他们应该会引导你在各种论坛上找到很棒的帖子) 。
如果您有 133 MB 的空闲空间,那么可以使用 RayW 的大型查找表。评估 7 张牌的代码基本上变成了一个巨大的表查找。你很难打败它。
请注意,PokerStove 本身的功能有点有限。考虑以下场景:
嗯,你无法一次性计算所有这些权益扑克炉。您必须首先计算第一个底池的权益,然后使用 Qh Qd 作为死牌计算第二个底池的 Ac Ad 与 As Ks 的权益。这是可以做到的,但是有点痛苦:你必须手动计算底池大小,并且必须在 PokerStove 中运行两种不同的计算。
如果这是真钱德州扑克,您还必须考虑抽水,否则您的计算就有缺陷。
Oh that's my domain ; )
As fast as PokerStove it's very, very hard to do because PokerStove is incredibly fast. However there are several evaluators out there that are quite interesting.
It all depends on how much memory you're willing to use for this and what are your exact needs. For example there are now quite good online evaluators that do not require any program to be installed (PokerStove needs to be installed).
People who wrote great (that is: fast, darn fast) poker evaluators go by the names of "Cactus Kev", "Paul Senzee", "Steve Brecher", etc. (Googling them should lead you to great threads on various forums).
If you've got 133 MB to spare, then there's RayW's big lookup table. The code to evaluate a 7-card hand basically becomes a gigantic table lookup. You can hardly beat that.
Note that PokerStove itself is a bit limited in what it can do. Take the following scenario:
Well, you cannot compute all these equities in one pass in PokerStove. You must first compute the equities for the first pot and then compute the equities for Ac Ad vs As Ks for the second pot, using Qh Qd as dead cards. It can be done, but it's kinda painful: you have to manually compute the pot sizes and you have to run two different computation in PokerStove.
If this is real-money Hold'em, you also must take into account the rake or your computation are flawed.