Class representing most simple random numbers generator.  
 More...
#include <randomizer.hpp>
|  | 
| static double | random () | 
|  | Returns random number in the interval [0,1) (with uniform distribution) 
 | 
|  | 
| static double | randint (int m) | 
|  | Returns random integer in the interval [0,m-1] (with uniform istribution)  More... 
 | 
|  | 
| static int | getSeed () | 
|  | Getter for seed. 
 | 
|  | 
| static void | setSeed (int s) | 
|  | Setter for seed.  More... 
 | 
|  | 
|  | 
| static int | seed = 0 | 
|  | Random seed. 
 | 
|  | 
Class representing most simple random numbers generator. 
  
  | 
        
          | static double aggregpacking::Randomizer::randint | ( | int | m | ) |  |  | inlinestatic | 
 
Returns random integer in the interval [0,m-1] (with uniform istribution) 
- Parameters
- 
  
    | m | upper limit if the interval |  
 
 
 
  
  | 
        
          | static void aggregpacking::Randomizer::setSeed | ( | int | s | ) |  |  | inlinestatic | 
 
Setter for seed. 
- Parameters
- 
  
  
 
 
The documentation for this class was generated from the following files: