A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
snr-to-block-error-rate-record.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2007,2008, 2009 INRIA, UDcast
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
18
* <amine.ismail@udcast.com>
19
*/
20
21
#ifndef SNR_TO_BLOCK_ERROR_RATE_RECORD_H
22
#define SNR_TO_BLOCK_ERROR_RATE_RECORD_H
23
24
namespace
ns3
25
{
26
34
class
SNRToBlockErrorRateRecord
35
{
36
public
:
46
SNRToBlockErrorRateRecord
(
double
snrValue,
47
double
bitErrorRate,
48
double
BlockErrorRate,
49
double
sigma2,
50
double
I1,
51
double
I2);
52
~SNRToBlockErrorRateRecord
();
53
57
double
GetSNRValue
()
const
;
61
double
GetBitErrorRate
()
const
;
65
double
GetBlockErrorRate
()
const
;
69
double
GetSigma2
()
const
;
73
double
GetI1
()
const
;
77
double
GetI2
()
const
;
82
SNRToBlockErrorRateRecord
*
Copy
()
const
;
83
88
void
SetSNRValue
(
double
snrValue);
93
void
SetBitErrorRate
(
double
bitErrorRate);
98
void
SetBlockErrorRate
(
double
blockErrorRate);
103
void
SetI1
(
double
i1);
108
void
SetI2
(
double
i2);
109
110
private
:
111
double
m_snrValue
;
112
double
m_bitErrorRate
;
113
double
m_blockErrorRate
;
114
double
m_sigma2
;
115
double
m_i1
;
116
double
m_i2
;
117
};
118
119
}
// namespace ns3
120
121
#endif
/* SNR_TO_BLOCK_ERROR_RATE_RECORD_H */
ns3::SNRToBlockErrorRateRecord
This class represents a record (handled by SnrToBlockErrorRate manager) that keeps a mapping between ...
Definition:
snr-to-block-error-rate-record.h:35
ns3::SNRToBlockErrorRateRecord::GetSNRValue
double GetSNRValue() const
Definition:
snr-to-block-error-rate-record.cc:56
ns3::SNRToBlockErrorRateRecord::GetI2
double GetI2() const
Definition:
snr-to-block-error-rate-record.cc:96
ns3::SNRToBlockErrorRateRecord::m_i1
double m_i1
The lower boundary of the confidence interval.
Definition:
snr-to-block-error-rate-record.h:115
ns3::SNRToBlockErrorRateRecord::GetBlockErrorRate
double GetBlockErrorRate() const
Definition:
snr-to-block-error-rate-record.cc:78
ns3::SNRToBlockErrorRateRecord::m_snrValue
double m_snrValue
SNR value.
Definition:
snr-to-block-error-rate-record.h:111
ns3::SNRToBlockErrorRateRecord::SetSNRValue
void SetSNRValue(double snrValue)
set the snr value
Definition:
snr-to-block-error-rate-record.cc:102
ns3::SNRToBlockErrorRateRecord::m_bitErrorRate
double m_bitErrorRate
bit error rate
Definition:
snr-to-block-error-rate-record.h:112
ns3::SNRToBlockErrorRateRecord::m_blockErrorRate
double m_blockErrorRate
block error rate
Definition:
snr-to-block-error-rate-record.h:113
ns3::SNRToBlockErrorRateRecord::SetBitErrorRate
void SetBitErrorRate(double bitErrorRate)
set the BER value
Definition:
snr-to-block-error-rate-record.cc:108
ns3::SNRToBlockErrorRateRecord::~SNRToBlockErrorRateRecord
~SNRToBlockErrorRateRecord()
Definition:
snr-to-block-error-rate-record.cc:61
ns3::SNRToBlockErrorRateRecord::GetBitErrorRate
double GetBitErrorRate() const
Definition:
snr-to-block-error-rate-record.cc:72
ns3::SNRToBlockErrorRateRecord::SetI2
void SetI2(double i2)
set the upper boundary of the confidence interval
Definition:
snr-to-block-error-rate-record.cc:126
ns3::SNRToBlockErrorRateRecord::m_i2
double m_i2
The upper boundary of the confidence interval.
Definition:
snr-to-block-error-rate-record.h:116
ns3::SNRToBlockErrorRateRecord::GetI1
double GetI1() const
Definition:
snr-to-block-error-rate-record.cc:90
ns3::SNRToBlockErrorRateRecord::Copy
SNRToBlockErrorRateRecord * Copy() const
copy a record
Definition:
snr-to-block-error-rate-record.cc:45
ns3::SNRToBlockErrorRateRecord::GetSigma2
double GetSigma2() const
Definition:
snr-to-block-error-rate-record.cc:84
ns3::SNRToBlockErrorRateRecord::m_sigma2
double m_sigma2
sigma2
Definition:
snr-to-block-error-rate-record.h:114
ns3::SNRToBlockErrorRateRecord::SetI1
void SetI1(double i1)
set the lower boundary of the confidence interval
Definition:
snr-to-block-error-rate-record.cc:120
ns3::SNRToBlockErrorRateRecord::SNRToBlockErrorRateRecord
SNRToBlockErrorRateRecord(double snrValue, double bitErrorRate, double BlockErrorRate, double sigma2, double I1, double I2)
creates a record and sets its values
Definition:
snr-to-block-error-rate-record.cc:29
ns3::SNRToBlockErrorRateRecord::SetBlockErrorRate
void SetBlockErrorRate(double blockErrorRate)
set the BlcER value
Definition:
snr-to-block-error-rate-record.cc:114
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
wimax
model
snr-to-block-error-rate-record.h
Generated on Sun Mar 3 2024 17:11:14 for ns-3 by
1.9.1