#include <randomc.h>
Public Methods | |
TRanrotBGenerator () | |
TRanrotBGenerator (long int seed) | |
void | RandomInit (long int seed) |
int | IRandom (int min, int max) |
double | Random () |
Protected Attributes | |
int | p1 |
int | p2 |
unsigned long | randbuffer [KK] |
Private Types | |
enum | constants { KK = 17, JJ = 10, R1 = 13, R2 = 9 } |
Private Attributes | |
Mutex | m_mutex |
|
|
|
Definition at line 30 of file Random-Ranrotb.cpp. |
|
Definition at line 36 of file Random-Ranrotb.cpp. |
|
Definition at line 78 of file Random-Ranrotb.cpp. Referenced by DiscoveryPacket::DiscoveryPacket(), LinkLayerInterface::getRandomNeighbor(), Catcher::getUnconnectedNode(), NetworkLayer::pingThreadImpl(), and LinkLayerInterface::sendPacket().
|
|
Definition at line 42 of file Random-Ranrotb.cpp. Referenced by IRandom(), RandomInit(), NetworkLayer::handleConnectPacket(), and NetworkLayer::handleDiscoveryPacket().
|
|
Definition at line 92 of file Random-Ranrotb.cpp. Referenced by TRanrotBGenerator().
|
|
|
|
|
|
|
|
|