3 ms·
> and if A < 1 we do the following: > Produce a random number \chi from 0 to 1 > Calculate m=A + \chi > Accept the move if m >= 1, otherwise reject I'm g
by egjerlow 10y ago
> and if A < 1 we do the following:
> Produce a random number \chi from 0 to 1
> Calculate m=A + \chi
> Accept the move if m >= 1, otherwise reject
I'm guessing people have their own ways of doing this step, but by doing the math here, seems to me the second move can be omitted and the third replaced with "Accept the move if A >= /chi, otherwise reject".
EDIT: I see in the actual code all of this is summarized as A + chi >= 1, i.e. not a big deal (but still an addition more than needed ;)