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  

RandomVariable Class Reference

#include <ranvar.h>

Inheritance diagram for RandomVariable:

TclObject ConstantRandomVariable EmpiricalRandomVariable ExponentialRandomVariable HyperExponentialRandomVariable LogNormalRandomVariable NormalRandomVariable ParetoIIRandomVariable ParetoRandomVariable UniformRandomVariable List of all members.

Public Member Functions

virtual double value ()=0
virtual double avg ()=0
int command (int argc, const char *const *argv)
 RandomVariable ()
int seed (char *)

Protected Attributes

RNGrng_

Constructor & Destructor Documentation

RandomVariable::RandomVariable  
 


Member Function Documentation

virtual double RandomVariable::avg   [pure virtual]
 

Implemented in UniformRandomVariable, ExponentialRandomVariable, ParetoRandomVariable, ParetoIIRandomVariable, NormalRandomVariable, LogNormalRandomVariable, ConstantRandomVariable, HyperExponentialRandomVariable, and EmpiricalRandomVariable.

int RandomVariable::command int    argc,
const char *const *    argv
[virtual]
 

Reimplemented from TclObject.

Reimplemented in EmpiricalRandomVariable.

int RandomVariable::seed char *   
 

virtual double RandomVariable::value   [pure virtual]
 

Implemented in UniformRandomVariable, ExponentialRandomVariable, ParetoRandomVariable, ParetoIIRandomVariable, NormalRandomVariable, LogNormalRandomVariable, ConstantRandomVariable, HyperExponentialRandomVariable, and EmpiricalRandomVariable.


Member Data Documentation

RNG* RandomVariable::rng_ [protected]
 


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