Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
SumoRNG Class Reference

#include <RandHelper.h>

Inheritance diagram for SumoRNG:
[legend]
Collaboration diagram for SumoRNG:
[legend]

Public Member Functions

void setSeed (int _seed)
 SumoRNG (const std::string &_id)

Data Fields

unsigned long long int count = 0
std::string id
int origSeed = default_seed

Detailed Description

Definition at line 114 of file RandHelper.h.

Constructor & Destructor Documentation

◆ SumoRNG()

SumoRNG::SumoRNG ( const std::string & _id)
inline

Definition at line 116 of file RandHelper.h.

References id.

Member Function Documentation

◆ setSeed()

void SumoRNG::setSeed ( int _seed)
inline

Definition at line 118 of file RandHelper.h.

References origSeed.

Referenced by RandHelper::initRand().

Here is the caller graph for this function:

Field Documentation

◆ count

unsigned long long int SumoRNG::count = 0

Definition at line 123 of file RandHelper.h.

Referenced by RandHelper::rand().

◆ id

std::string SumoRNG::id

Definition at line 125 of file RandHelper.h.

Referenced by RandHelper::rand(), and SumoRNG().

◆ origSeed

int SumoRNG::origSeed = default_seed

Definition at line 124 of file RandHelper.h.

Referenced by RandHelper::getSeed(), and setSeed().


The documentation for this class was generated from the following file: