ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
|  Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Random Class Reference

#include <random.h>

List of all members.

Static Public Member Functions

void seed (int s)
int seed_heuristically ()
int random ()
double uniform ()
double uniform (double r)
double uniform (double a, double b)
double exponential ()
int integer (int k)
double exponential (double r)
double pareto (double scale, double shape)
double paretoII (double scale, double shape)
double normal (double avg, double std)
double lognormal (double avg, double std)

Static Private Member Functions

RNG * rng ()


Member Function Documentation

double Random::exponential (  double    r )  [inline, static]
 

double Random::exponential (    )  [inline, static]
 

int Random::integer (  int    k )  [inline, static]
 

double Random::lognormal (  double    avg,
double    std
)  [inline, static]
 

double Random::normal (  double    avg,
double    std
)  [inline, static]
 

double Random::pareto (  double    scale,
double    shape
)  [inline, static]
 

double Random::paretoII (  double    scale,
double    shape
)  [inline, static]
 

int Random::random (    )  [inline, static]
 

RNG* Random::rng (    )  [inline, static, private]
 

void Random::seed (  int    s )  [inline, static]
 

int Random::seed_heuristically (    )  [inline, static]
 

double Random::uniform (  double    a,
double    b
)  [inline, static]
 

double Random::uniform (  double    r )  [inline, static]
 

double Random::uniform (    )  [inline, static]
 


The documentation for this class was generated from the following file:
This document is generated by doxygen.