|
本帖最后由 Howard 于 2013-8-4 14:56 编辑
老陈 发表于 2013-8-4 09:35
请帮我计算一下Flop ABB牌面并且是干燥牌面的概率。
再计算一下在这种牌面情况下2个对手都是空气的概率。
...
Flop ABB:16.9%- select count(boardInRange('RNN')) /* How often the board matches range RNN */ as COUNT1
- from game='holdem', syntax='Generic'
复制代码 Flop ABB rainbow: 8.47%- select count(( boardInRange('RNN') AND rainbowBoard(flop))) /* How often ( the board matches range RNN AND the board is rainbow on the flop) */ as COUNT1
- from game='holdem', syntax='Generic'
复制代码 Flop ABB 干燥(rainbow 且无possible straight draw):3.47%
这个比较难,我找了很多资料都没有明确限定“Flop no straight draw”的表达方式,只好hard code.- select count((boardInRange('AA[9-6],KK[8-2],QQ[7-2],JJ[6-2],TT[5-2],99[A,4,3,2],88[A,K,3,2],77[A,K,Q,2],66[A-J],55[K-T],44[K-9],33[K-8],22[K-7]') AND rainbowBoard(flop))) as COUNT1
- from game='holdem', syntax='Generic'
复制代码 给定flop是ABB 干燥,两个对手无人中东西(有两对以上牌力):55.4%- select count(handshaving(minHandType,flop,twopair) = 0) /* How often nobody 5-card hand type is at least two pair on the flop */ as COUNT1
- from game='holdem', syntax='Generic',
- PLAYER_1='*',
- PLAYER_2='*'
- where ( boardInRange('AA[9-6],KK[8-2],QQ[7-2],JJ[6-2],TT[5-2],99[A,4,3,2],88[A,K,3,2],77[A,K,Q,2],66[A-J],55[K-T],44[K-9],33[K-8],22[K-7]')
- AND rainbowBoard(flop))
复制代码 然而上述概率没有对两人的起手牌做限制,口袋对子全部算作中东西。如果限定两人起手均无对,此概率为:62.7%- select count(handshaving(minHandType,flop,twopair) = 0) /* How often nobody 5-card hand type is at least two pair on the flop */ as COUNT1
- from game='holdem', syntax='Generic',
- PLAYER_1='*!RR',
- PLAYER_2='*!RR'
- where ( boardInRange('AA[9-6],KK[8-2],QQ[7-2],JJ[6-2],TT[5-2],99[A,4,3,2],88[A,K,3,2],77[A,K,Q,2],66[A-J],55[K-T],44[K-9],33[K-8],22[K-7]')
- AND rainbowBoard(flop))
复制代码 |
|