User Manual, Developers Guide and API Documentation

wns::distribution::Fixed Class Reference

#include <distribution/Fixed.hpp>

Inheritance diagram for wns::distribution::Fixed:

Inheritance graph
[legend]
Collaboration diagram for wns::distribution::Fixed:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Fixed (double value)
 Fixed (wns::rng::RNGen *rng, const pyconfig::View &config)
 Fixed (const pyconfig::View &config)
virtual double getMean () const
 Mean value of the distribution.
virtual double operator() ()
 returns the random value according to the distribution.
virtual std::string paramString () const
 returns a string describing distribution and parameters

Private Attributes

double value


Detailed Description

Definition at line 34 of file Fixed.hpp.


Constructor & Destructor Documentation

Fixed::Fixed ( const pyconfig::View config  )  [explicit]

Definition at line 43 of file Fixed.cpp.

Fixed::Fixed ( wns::rng::RNGen rng,
const pyconfig::View config 
) [explicit]

Definition at line 49 of file Fixed.cpp.

Fixed::Fixed ( double  value  )  [explicit]

Definition at line 55 of file Fixed.cpp.


Member Function Documentation

double Fixed::getMean (  )  const [virtual]

Implements wns::distribution::IHasMean.

Definition at line 68 of file Fixed.cpp.

double Fixed::operator() (  )  [virtual]

Implements wns::distribution::Distribution.

Definition at line 62 of file Fixed.cpp.

std::string Fixed::paramString (  )  const [virtual]

Implements wns::distribution::Distribution.

Definition at line 74 of file Fixed.cpp.


Member Data Documentation

Definition at line 58 of file Fixed.hpp.


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

Generated on Sat May 26 03:32:52 2012 for openWNS by  doxygen 1.5.5