andrewprock / pokerstove

poker evaluation and enumeration software
BSD 3-Clause "New" or "Revised" License
806 stars 350 forks source link

ShowdownEnumerator: Break and return result after X iterations #43

Closed Vingtoft closed 5 years ago

Vingtoft commented 6 years ago

Calculating the equity for multiple random hands takes a very long time. If I'm not mistaken, the ShowdownEnumerator calculates all possible outcomes of hands, resulting in billions of calculations. It would be possible to limit the calculations to, say, 5% (and probably less than that) and get a result thats very close to the absolute result. This would result in a major performance improvement.

Question: How can this functionality be implemented in ShowdownEnumerator?

andrewprock commented 5 years ago

Won't do, we'll need monte carlo to get it right.