[Jprogramming] Doing it the J way

Justin Paston-Cooper paston.cooper at gmail.com
Thu Mar 3 23:48:17 HKT 2011


I don't know whether this would be sufficient. It would be nice to
have exact probabilities, but I haven't really reasoned about the
space required. 13! is already 6227020800, and there's going to be a
table for each stage in each game. Ultimately I would like to use the
probabilities to play this game on-line, finding bets which go against
the calculated probabilities. I'd start worrying about the randomness
of the games.

On 3 March 2011 15:27, Devon McCormick <devonmcc at gmail.com> wrote:
> If you did this stochastically, i.e. by sampling randomly, you could
> concentrate on the playing algorithm and trade off space for time to achieve
> as much precision you need.  Also, a stochastic version is easily
> parallelizable - see
> http://www.jsoftware.com/jwiki/DevonMcCormick/ParallelizedJCodeExamples for
> an example of how you could do this.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


More information about the Programming mailing list