bupticybee / TexasSolver

🚀 A very efficient Texas Holdem GTO solver :spades::hearts::clubs::diamonds:
https://bupticybee.github.io/texassolver_page
GNU Affero General Public License v3.0
1.69k stars 301 forks source link

Is it possible to solve with a rake? #89

Closed def-mycroft closed 1 year ago

def-mycroft commented 2 years ago

I don't see a rake structure mentioned in the documentation anywhere, does TexasSolver allow for use of a rake?

bupticybee commented 2 years ago

No, raking is not implemented for now, however I can say it's easy to implement.

def-mycroft commented 2 years ago

Okay, thanks for that.

Could you indicate what functions/files would need to be edited to implement raking?

I'd like to try to implement myself, I'm a python programmer and would like to learn more about C++ and it would also help me familiarize with the codebase.

On Wed, Mar 23, 2022, 7:56 PM icybee @.***> wrote:

No, raking is not implemented for now, however I can say it's easy to implement.

— Reply to this email directly, view it on GitHub https://github.com/bupticybee/TexasSolver/issues/89#issuecomment-1076962795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEY7CLFZQFOL6DCKVVGVAVTVBO4VRANCNFSM5RPLOARQ . You are receiving this because you authored the thread.Message ID: @.***>

bupticybee commented 2 years ago

Okay, thanks for that. Could you indicate what functions/files would need to be edited to implement raking? I'd like to try to implement myself, I'm a python programmer and would like to learn more about C++ and it would also help me familiarize with the codebase. … On Wed, Mar 23, 2022, 7:56 PM icybee @.> wrote: No, raking is not implemented for now, however I can say it's easy to implement. — Reply to this email directly, view it on GitHub <#89 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEY7CLFZQFOL6DCKVVGVAVTVBO4VRANCNFSM5RPLOARQ . You are receiving this because you authored the thread.Message ID: @.>

you might want to check this file :

https://github.com/bupticybee/TexasSolver/blob/master/src/GameTree.cpp#L429

https://github.com/bupticybee/TexasSolver/blob/master/src/GameTree.cpp#L456

just mess around with the payoffs and see what happens.

eonia89 commented 1 year ago

@bupticybee I would like to know if this rake option has been implemented! Thanks!

bupticybee commented 1 year ago

Closing now. Reopen if necessary