magland / ml_ms4alg

MountainSort v4
7 stars 19 forks source link

Added seed arg to random parts for reproducibility #31

Closed jthermiz closed 3 years ago

jthermiz commented 4 years ago

Added kwarg seed to random parts to make algorithm reproducible. I propose by default there is a seed (of 0) so unless the user overwrites the kwarg, seed with None, the algorithm is deterministic. This is to address #30

magland commented 3 years ago

Looks good to me, sorry for the delay. Merging.