You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kSampledStochastic, // At least one chance node with non-deterministic
Essentially it means that there is a single chance outcome and the randomness is applied when you apply the action (so the RNG is stored internally in the game object).
If you don't pass in the rng_seed parameter, it defaults to -1 (see negotiation.h) and then uses the default one for the Mersenne twister, see here:
(note: the documentation in the header should be updated, I'll fix that).
So it results in the same sequence of samples (after loading the game). Note that you don't need to load the game every time you want to create a new state (and you should only load the game once).
One fix is to set the seed yourself: e.g. pyspiel.load_game("negotiation(rng_seed=3279011)"). If you want the usual explict stochastic chance mode, there is another similar game called "bargaining" which does it using explicit stochastic.
Hi! As for the Negotiation game, I was expecting for the randomness of the initial game state, however, after conducting the code
It always return the same state. Why this happen?
The text was updated successfully, but these errors were encountered: