Quote:
Originally Posted by Hans0001
ah, the equities are in the *.dat files. how did you create them ?
|
Monte-Carlo simulation, but it might be possible to enumerate.
If it were possible to just enumerate each of the 818805 "generalized" 3-card combinations (eg: "22 vs AQs vs AKo") then you would need to do 818805*46*45*44*43*42 = 1.34685627 × 10^14 evaluations. Assuming we could do say 300 million evaluations per second, it would take about 5 days of computation to create the tables.
BUT, it's not possible to just examine just the 818805 "generalized" 3-card combinations and you have to expand them out into their "specific" 3-card combinations (eg: "2h2d vs AhQh vs AsKc") which leads to a computationally intractable amount of time required using this "naive" approach. There are a few possible tricks though:
a) You can take advantage of suit-isomorphisms (eg: "2h2d vs AhQh vs AsKc" gives the same evaluation as "2s2c vs AsQs vs AdKh", etc).
b) You might also be able to reduce each enumeration down from 46*45*44*43*42 evaluations (using tricks similar to those used by pokerstove).
I doubt it would be worth the effort though as the Monte-Carlo method is very simple to implement (and much easier to verify the validity) and after a few days of running it the errors will be pretty negligible.
Juk