[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Bug: Race theory, dice seed

From: Joern Thyssen
Subject: Re: [Bug-gnubg] Bug: Race theory, dice seed
Date: Wed, 1 Oct 2003 12:14:20 +0000
User-agent: Mutt/1.4.1i

On Wed, Oct 01, 2003 at 01:39:27PM +0200, Jim Segrave wrote
> > 
> > It should be quite easy to add another Mersenne Twister RNG, which could be 
> > used in all the non-playing areas.
> > If that is the only RNG the roll-out/theory code needs.
> It is quite strraightforward to have multiple copies of the initernal
> state of the MT RNG. I would suggest that rather than add the
> complexity of saving/restoring state on all paths through every code
> block which uses the MT RNG, that we arrange that the various callers -
> play, theory, and rollout are indicated so that the RNG can choose
> which static structure it uses.

Sounds like a fine solution to me.

> Looking at the other RNGs, most could be modified to support multiple
> parallel sequences, but the question is whether it's worth
> doing. Saying that the training, rollout and osr functions will only
> use Mersenne Twister, while leaving the play rng fully selectable
> seems to me not to be any real loss of functionality.

That's my view too -- we'll not know until someone asks why he cannot do
rollouts with the manual RNG :-)


Attachment: pgpxZ5qU8hU1_.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]