質問

i'm playing with xcode to create a poker hand analizer. I've used the specialK hand evaluator. after included the evaluator in my project i've detached two threads ( with 125k cycles each ) to attempt to run monte carlo simulation in order to check percentage of winning for each player... my problem is that 125k x 2 cycles takes about 40 seconds to run on an iphone 4. does anyone have any suggestions ?

役に立ちましたか?

解決

Have you tried comparing the percentages derived from runs at 125K simulations versus those derived from smaller runs, say 5K or 10K? It's possible the percentages converge closely enough for practical purposes.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top