Many, many more comments

This commit is contained in:
2024-12-04 17:15:04 +01:00
parent 8696517336
commit 03854339ca
100 changed files with 1702 additions and 49 deletions
+5
View File
@@ -5,13 +5,18 @@
#include <memory>
#include <random>
// class to handle a random generator object
class RandomNumbers {
public:
// Constructor: takes the seed for the random engine
RandomNumbers(int seed);
// draw a uniformly distributed integer number between min, max
int rollUniform(int min, int max);
// draw a uniformly distributed double number between min, max
double rollUniform(double min, double max);
// getter for the pointer to the mersenne twister 19937 engine
std::mt19937* engine();
private: