User Manual, Developers Guide and API Documentation

wns::distribution::LogNorm Class Reference

#include <distribution/LogNorm.hpp>

Inheritance diagram for wns::distribution::LogNorm:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

LogNormalDist dis_
double mean_
double std_
double variance_


Detailed Description

Definition at line 40 of file LogNorm.hpp.


Constructor & Destructor Documentation

LogNorm::LogNorm ( double  mean,
double  std,
wns::rng::RNGen rng = wns::simulator::getRNG() 
) [explicit]

Definition at line 54 of file LogNorm.cpp.

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

Definition at line 72 of file LogNorm.cpp.

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

Definition at line 81 of file LogNorm.cpp.

LogNorm::~LogNorm (  )  [virtual]

Definition at line 90 of file LogNorm.cpp.


Member Function Documentation

double LogNorm::getMean (  )  const [virtual]

Implements wns::distribution::IHasMean.

Definition at line 102 of file LogNorm.cpp.

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

Implements wns::distribution::Distribution.

Definition at line 96 of file LogNorm.cpp.

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

Implements wns::distribution::Distribution.

Definition at line 109 of file LogNorm.cpp.


Member Data Documentation

Definition at line 72 of file LogNorm.hpp.

Definition at line 68 of file LogNorm.hpp.

Definition at line 69 of file LogNorm.hpp.

Definition at line 70 of file LogNorm.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