From 776717ad538fafa2389e2c7731be49aa6b63b439 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 14 Mar 2016 14:22:24 +0100 Subject: [PATCH] Moving to RnG --- Utils/Random/ArrayRandomize.php | 30 -------------------- Utils/Random/LinearCongruentialGenerator.php | 17 ----------- 2 files changed, 47 deletions(-) delete mode 100644 Utils/Random/ArrayRandomize.php delete mode 100644 Utils/Random/LinearCongruentialGenerator.php diff --git a/Utils/Random/ArrayRandomize.php b/Utils/Random/ArrayRandomize.php deleted file mode 100644 index ba0249388..000000000 --- a/Utils/Random/ArrayRandomize.php +++ /dev/null @@ -1,30 +0,0 @@ - 0; $i--){ - $rnd = mt_rand(0, $i); - $shuffled[$i] = $arr[$rnd]; - $shuffled[$rand] = $arr[$i]; - } - - return $shuffled; - } -} \ No newline at end of file diff --git a/Utils/Random/LinearCongruentialGenerator.php b/Utils/Random/LinearCongruentialGenerator.php deleted file mode 100644 index 84756d208..000000000 --- a/Utils/Random/LinearCongruentialGenerator.php +++ /dev/null @@ -1,17 +0,0 @@ -> 16; - }; - } -} \ No newline at end of file