1. 22 Aug, 2021 1 commit
  2. 21 Aug, 2021 1 commit
    • salix5's avatar
      update RNG and uniform distribution (#391) · 3fe5cbdd
      salix5 authored
      DUEL_OLD_REPLAY
      The duel created by old replay files.
      It will use the original almost-uniform distribution.
      
      Random Number Generator
      C++11 has a built-in std::mersenne_twister_engine()
      It can be replaced by std::mt19937.
      
      class mt19937
      rand()
      mersenne_twister_engine std:mt19937
      
      get_random_integer()
      uniform_int_distribution based on std::mt19937
      
      shuffle_vector()
      Fisher–Yates shuffle based on get_random_integer()
      
      * update RNG and uniform distribution
      
      * add class mt19937
      
      * typos
      
      * avoid windows macro
      
      * fix rand()
      3fe5cbdd
  3. 18 Aug, 2021 1 commit
  4. 14 Aug, 2021 1 commit
  5. 13 Aug, 2021 1 commit
  6. 21 Jul, 2021 1 commit
  7. 29 Jun, 2021 1 commit
  8. 28 Jun, 2021 2 commits
  9. 13 Jun, 2021 1 commit
  10. 08 Jun, 2021 1 commit
  11. 03 Jun, 2021 1 commit
  12. 01 Jun, 2021 1 commit
  13. 16 May, 2021 2 commits
  14. 03 May, 2021 1 commit
  15. 01 May, 2021 1 commit
  16. 28 Apr, 2021 2 commits
  17. 17 Apr, 2021 1 commit
  18. 07 Apr, 2021 7 commits
  19. 06 Apr, 2021 2 commits
  20. 31 Mar, 2021 1 commit
  21. 25 Mar, 2021 2 commits
  22. 24 Mar, 2021 1 commit
  23. 16 Mar, 2021 2 commits
  24. 12 Mar, 2021 2 commits
  25. 11 Mar, 2021 1 commit
  26. 08 Mar, 2021 1 commit
  27. 28 Feb, 2021 1 commit