A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::SNRToBlockErrorRateRecord Class Reference

This class represents a record (handled by SnrToBlockErrorRate manager) that keeps a mapping between an SNR value and its corresponding (1) Bit Error Rate, (2) Block Error Rate, (3) Standard deviation, (4 and 5) confidence interval. More...

#include <snr-to-block-error-rate-record.h>

Public Member Functions

 SNRToBlockErrorRateRecord (double snrValue, double bitErrorRate, double BlockErrorRate, double sigma2, double I1, double I2)
 creates a record and sets its values More...
 
SNRToBlockErrorRateRecordCopy ()
 copy a record More...
 
double GetBitErrorRate (void)
 
double GetBlockErrorRate (void)
 
double GetI1 (void)
 
double GetI2 (void)
 
double GetSigma2 (void)
 
double GetSNRValue (void)
 
void SetBitErrorRate (double)
 set the BER value
 
void SetBlockErrorRate (double)
 set the BlcER value
 
void SetI1 (double)
 set the lower boundary of the confidence interval
 
void SetI2 (double)
 set the upper boundary of the confidence interval
 
void SetSNRValue (double)
 set the snr value
 

Private Attributes

double m_bitErrorRate
 
double m_blockErrorRate
 
double m_i1
 
double m_i2
 
double m_sigma2
 
double m_snrValue
 

Detailed Description

This class represents a record (handled by SnrToBlockErrorRate manager) that keeps a mapping between an SNR value and its corresponding (1) Bit Error Rate, (2) Block Error Rate, (3) Standard deviation, (4 and 5) confidence interval.

Definition at line 34 of file snr-to-block-error-rate-record.h.

Constructor & Destructor Documentation

ns3::SNRToBlockErrorRateRecord::SNRToBlockErrorRateRecord ( double  snrValue,
double  bitErrorRate,
double  BlockErrorRate,
double  sigma2,
double  I1,
double  I2 
)

creates a record and sets its values

Parameters
snrValueThe SNR value
bitErrorRatethe BER
BlockErrorRatethe BlcER
sigma2the standard deviation
I1the lower boundary of the confidence interval
I2the upper boundary of the confidence interval

Definition at line 28 of file snr-to-block-error-rate-record.cc.

Member Function Documentation

SNRToBlockErrorRateRecord * ns3::SNRToBlockErrorRateRecord::Copy ( void  )

copy a record

Returns
a copy of this record

Definition at line 41 of file snr-to-block-error-rate-record.cc.

double ns3::SNRToBlockErrorRateRecord::GetBitErrorRate ( void  )
Returns
the BER value

Definition at line 65 of file snr-to-block-error-rate-record.cc.

double ns3::SNRToBlockErrorRateRecord::GetBlockErrorRate ( void  )
Returns
the BlcER value

Definition at line 70 of file snr-to-block-error-rate-record.cc.

double ns3::SNRToBlockErrorRateRecord::GetI1 ( void  )
Returns
the lower boundary of the confidence interval

Definition at line 80 of file snr-to-block-error-rate-record.cc.

Referenced by ns3::SimpleOfdmWimaxPhy::StartReceive().

double ns3::SNRToBlockErrorRateRecord::GetI2 ( void  )
Returns
the upper boundary of the confidence interval

Definition at line 85 of file snr-to-block-error-rate-record.cc.

Referenced by ns3::SimpleOfdmWimaxPhy::StartReceive().

double ns3::SNRToBlockErrorRateRecord::GetSigma2 ( void  )
Returns
the standard deviation

Definition at line 75 of file snr-to-block-error-rate-record.cc.

double ns3::SNRToBlockErrorRateRecord::GetSNRValue ( void  )
Returns
the SNR value

Definition at line 49 of file snr-to-block-error-rate-record.cc.


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