Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

simthlib::UniformDelayProfile Class Reference

Uniform delay profile. More...

#include <delayprofile.h>

Inheritance diagram for simthlib::UniformDelayProfile:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 UniformDelayProfile (double tau_max)
virtual ~UniformDelayProfile ()
double get () const
double maxDelay () const
void print (std::ostream &os) const

Detailed Description

Uniform delay profile.

With a given maximal delay $\tau_{max}$ the probability density function of the delay is

\[ f(x) = \left\{ \begin{array}{cl} 0 & \mbox{for } x<0, x>\tau_{max} \\ \frac{1}{\tau_{max}} & \mbox{for }0\le x\le \tau_{max} \end{array} \right. \]

Though this is not liked by the communication engineers, it is nevertheless interesting from an information theoretic viewpoint because for any random variable with limited value range, the uniform distribution is the distribution with maximum entropy.


Constructor & Destructor Documentation

simthlib::UniformDelayProfile::UniformDelayProfile double  tau_max  ) 
 

Class constructor.

Parameters:
tau_max Maximal Delay $\tau_{max}$, which also determines the scaling parameter.

virtual simthlib::UniformDelayProfile::~UniformDelayProfile  )  [virtual]
 

Class destructor.


Member Function Documentation

double simthlib::UniformDelayProfile::get  )  const [virtual]
 

Returns a random delay variant from an uniform distribution.

Implements simthlib::DelayProfile.

double simthlib::UniformDelayProfile::maxDelay  )  const [inline, virtual]
 

Implements simthlib::DelayProfile.

void simthlib::UniformDelayProfile::print std::ostream &  os  )  const [virtual]
 

Printing some information to the specified output stream.

Implements simthlib::DelayProfile.


Generated on Tue Aug 9 14:37:36 2005 for simtheticlib by  doxygen 1.4.1