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 | |
~SNRToBlockErrorRateRecord () | |
SNRToBlockErrorRateRecord * | Copy () const |
copy a record | |
double | GetBitErrorRate () const |
double | GetBlockErrorRate () const |
double | GetI1 () const |
double | GetI2 () const |
double | GetSigma2 () const |
double | GetSNRValue () const |
void | SetBitErrorRate (double bitErrorRate) |
set the BER value | |
void | SetBlockErrorRate (double blockErrorRate) |
set the BlcER value | |
void | SetI1 (double i1) |
set the lower boundary of the confidence interval | |
void | SetI2 (double i2) |
set the upper boundary of the confidence interval | |
void | SetSNRValue (double snrValue) |
set the snr value | |
Private Attributes | |
double | m_bitErrorRate |
bit error rate | |
double | m_blockErrorRate |
block error rate | |
double | m_i1 |
The lower boundary of the confidence interval. | |
double | m_i2 |
The upper boundary of the confidence interval. | |
double | m_sigma2 |
sigma2 | |
double | m_snrValue |
SNR value. | |
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 23 of file snr-to-block-error-rate-record.h.
ns3::SNRToBlockErrorRateRecord::SNRToBlockErrorRateRecord | ( | double | snrValue, |
double | bitErrorRate, | ||
double | BlockErrorRate, | ||
double | sigma2, | ||
double | I1, | ||
double | I2 ) |
creates a record and sets its values
snrValue | The SNR value |
bitErrorRate | the BER |
BlockErrorRate | the BlcER |
sigma2 | the standard deviation |
I1 | the lower boundary of the confidence interval |
I2 | the upper boundary of the confidence interval |
Definition at line 18 of file snr-to-block-error-rate-record.cc.
References m_bitErrorRate, m_blockErrorRate, m_i1, m_i2, m_sigma2, and m_snrValue.
Referenced by Copy().
ns3::SNRToBlockErrorRateRecord::~SNRToBlockErrorRateRecord | ( | ) |
Definition at line 50 of file snr-to-block-error-rate-record.cc.
References m_bitErrorRate, m_blockErrorRate, m_i1, m_i2, m_sigma2, and m_snrValue.
SNRToBlockErrorRateRecord * ns3::SNRToBlockErrorRateRecord::Copy | ( | ) | const |
copy a record
Definition at line 34 of file snr-to-block-error-rate-record.cc.
References SNRToBlockErrorRateRecord(), m_bitErrorRate, m_blockErrorRate, m_i1, m_i2, m_sigma2, and m_snrValue.
double ns3::SNRToBlockErrorRateRecord::GetBitErrorRate | ( | ) | const |
Definition at line 61 of file snr-to-block-error-rate-record.cc.
References m_bitErrorRate.
double ns3::SNRToBlockErrorRateRecord::GetBlockErrorRate | ( | ) | const |
Definition at line 67 of file snr-to-block-error-rate-record.cc.
References m_blockErrorRate.
double ns3::SNRToBlockErrorRateRecord::GetI1 | ( | ) | const |
Definition at line 79 of file snr-to-block-error-rate-record.cc.
References m_i1.
Referenced by ns3::SimpleOfdmWimaxPhy::StartReceive().
double ns3::SNRToBlockErrorRateRecord::GetI2 | ( | ) | const |
Definition at line 85 of file snr-to-block-error-rate-record.cc.
References m_i2.
Referenced by ns3::SimpleOfdmWimaxPhy::StartReceive().
double ns3::SNRToBlockErrorRateRecord::GetSigma2 | ( | ) | const |
Definition at line 73 of file snr-to-block-error-rate-record.cc.
References m_sigma2.
double ns3::SNRToBlockErrorRateRecord::GetSNRValue | ( | ) | const |
Definition at line 45 of file snr-to-block-error-rate-record.cc.
References m_snrValue.
void ns3::SNRToBlockErrorRateRecord::SetBitErrorRate | ( | double | bitErrorRate | ) |
set the BER value
bitErrorRate | the bit error rate value |
Definition at line 97 of file snr-to-block-error-rate-record.cc.
References m_bitErrorRate.
void ns3::SNRToBlockErrorRateRecord::SetBlockErrorRate | ( | double | blockErrorRate | ) |
set the BlcER value
blockErrorRate | the block error rate value |
Definition at line 103 of file snr-to-block-error-rate-record.cc.
References m_blockErrorRate.
void ns3::SNRToBlockErrorRateRecord::SetI1 | ( | double | i1 | ) |
set the lower boundary of the confidence interval
i1 | the lower boundary of the confidence interval |
Definition at line 109 of file snr-to-block-error-rate-record.cc.
References m_i1.
void ns3::SNRToBlockErrorRateRecord::SetI2 | ( | double | i2 | ) |
set the upper boundary of the confidence interval
i2 | the upper boundary of the confidence interval |
Definition at line 115 of file snr-to-block-error-rate-record.cc.
References m_i2.
void ns3::SNRToBlockErrorRateRecord::SetSNRValue | ( | double | snrValue | ) |
set the snr value
snrValue | the SNR value |
Definition at line 91 of file snr-to-block-error-rate-record.cc.
References m_snrValue.
|
private |
bit error rate
Definition at line 101 of file snr-to-block-error-rate-record.h.
Referenced by SNRToBlockErrorRateRecord(), ~SNRToBlockErrorRateRecord(), Copy(), GetBitErrorRate(), and SetBitErrorRate().
|
private |
block error rate
Definition at line 102 of file snr-to-block-error-rate-record.h.
Referenced by SNRToBlockErrorRateRecord(), ~SNRToBlockErrorRateRecord(), Copy(), GetBlockErrorRate(), and SetBlockErrorRate().
|
private |
The lower boundary of the confidence interval.
Definition at line 104 of file snr-to-block-error-rate-record.h.
Referenced by SNRToBlockErrorRateRecord(), ~SNRToBlockErrorRateRecord(), Copy(), GetI1(), and SetI1().
|
private |
The upper boundary of the confidence interval.
Definition at line 105 of file snr-to-block-error-rate-record.h.
Referenced by SNRToBlockErrorRateRecord(), ~SNRToBlockErrorRateRecord(), Copy(), GetI2(), and SetI2().
|
private |
sigma2
Definition at line 103 of file snr-to-block-error-rate-record.h.
Referenced by SNRToBlockErrorRateRecord(), ~SNRToBlockErrorRateRecord(), Copy(), and GetSigma2().
|
private |
SNR value.
Definition at line 100 of file snr-to-block-error-rate-record.h.
Referenced by SNRToBlockErrorRateRecord(), ~SNRToBlockErrorRateRecord(), Copy(), GetSNRValue(), and SetSNRValue().