SUMO - Simulation of Urban MObility
MersenneTwister.h File Reference
#include <iostream>
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <time.h>
#include <math.h>
Include dependency graph for MersenneTwister.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MTRand
 

Functions

std::ostream & operator<< (std::ostream &os, const MTRand &mtrand)
 
std::istream & operator>> (std::istream &is, MTRand &mtrand)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const MTRand mtrand 
)
inline

Definition at line 399 of file MersenneTwister.h.

References MTRand::left, MTRand::N, and MTRand::state.

◆ operator>>()

std::istream& operator>> ( std::istream &  is,
MTRand mtrand 
)
inline

Definition at line 408 of file MersenneTwister.h.

References MTRand::left, MTRand::N, MTRand::pNext, and MTRand::state.