Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
RandHelper.h File Reference
#include <config.h>
#include <cassert>
#include <cstring>
#include <vector>
#include <map>
#include <random>
#include <sstream>
#include <iostream>
#include <algorithm>
Include dependency graph for RandHelper.h:

Go to the source code of this file.

Data Structures

class  RandHelper
 Utility functions for using a global, resetable random number generator. More...
 
class  SumoRNG
 
class  XoShiRo256PlusPlus
 A random number generator as proposed here https://prng.di.unimi.it/xoshiro256plusplus.c. More...
 

Macros

#define SAVE_ONLY_COUNT   1000000
 

Functions

uint64_t splitmix64 (const uint64_t seed)
 

Detailed Description

Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
Fri, 29.04.2005

Definition in file RandHelper.h.

Macro Definition Documentation

◆ SAVE_ONLY_COUNT

#define SAVE_ONLY_COUNT   1000000

Definition at line 35 of file RandHelper.h.

Function Documentation

◆ splitmix64()

uint64_t splitmix64 ( const uint64_t  seed)
inline

Definition at line 44 of file RandHelper.h.

Referenced by RandHelper::randHash(), and XoShiRo256PlusPlus::seed().

Here is the caller graph for this function: