A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
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
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2007,2008, 2009 INRIA, UDcast
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Author: Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
19
* <amine.ismail@udcast.com>
20
*/
21
22
#ifndef SNR_TO_BLOCK_ERROR_RATE_RECORD_H
23
#define SNR_TO_BLOCK_ERROR_RATE_RECORD_H
24
25
namespace
ns3
{
26
34
class
SNRToBlockErrorRateRecord
35
{
36
public
:
46
SNRToBlockErrorRateRecord
(
double
snrValue,
double
bitErrorRate,
47
double
BlockErrorRate,
double
sigma2,
double
I1,
double
I2);
48
~SNRToBlockErrorRateRecord
(
void
);
49
53
double
GetSNRValue
(
void
);
57
double
GetBitErrorRate
(
void
);
61
double
GetBlockErrorRate
(
void
);
65
double
GetSigma2
(
void
);
69
double
GetI1
(
void
);
73
double
GetI2
(
void
);
78
SNRToBlockErrorRateRecord
*
79
Copy
();
80
85
void
SetSNRValue
(
double
snrValue);
90
void
SetBitErrorRate
(
double
bitErrorRate);
95
void
SetBlockErrorRate
(
double
blockErrorRate);
100
void
SetI1
(
double
i1);
105
void
SetI2
(
double
i2);
106
107
private
:
108
double
m_snrValue
;
109
double
m_bitErrorRate
;
110
double
m_blockErrorRate
;
111
double
m_sigma2
;
112
double
m_i1
;
113
double
m_i2
;
114
};
115
116
}
117
118
#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::GetBlockErrorRate
double GetBlockErrorRate(void)
Definition:
snr-to-block-error-rate-record.cc:70
ns3::SNRToBlockErrorRateRecord::m_i1
double m_i1
The lower boundary of the confidence interval.
Definition:
snr-to-block-error-rate-record.h:112
ns3::SNRToBlockErrorRateRecord::m_snrValue
double m_snrValue
SNR value.
Definition:
snr-to-block-error-rate-record.h:108
ns3::SNRToBlockErrorRateRecord::GetI1
double GetI1(void)
Definition:
snr-to-block-error-rate-record.cc:80
ns3::SNRToBlockErrorRateRecord::SetSNRValue
void SetSNRValue(double snrValue)
set the snr value
Definition:
snr-to-block-error-rate-record.cc:91
ns3::SNRToBlockErrorRateRecord::m_bitErrorRate
double m_bitErrorRate
bit error rate
Definition:
snr-to-block-error-rate-record.h:109
ns3::SNRToBlockErrorRateRecord::m_blockErrorRate
double m_blockErrorRate
block error rate
Definition:
snr-to-block-error-rate-record.h:110
ns3::SNRToBlockErrorRateRecord::SetBitErrorRate
void SetBitErrorRate(double bitErrorRate)
set the BER value
Definition:
snr-to-block-error-rate-record.cc:96
ns3::SNRToBlockErrorRateRecord::SetI2
void SetI2(double i2)
set the upper boundary of the confidence interval
Definition:
snr-to-block-error-rate-record.cc:111
ns3::SNRToBlockErrorRateRecord::m_i2
double m_i2
The upper boundary of the confidence interval.
Definition:
snr-to-block-error-rate-record.h:113
ns3::SNRToBlockErrorRateRecord::GetSNRValue
double GetSNRValue(void)
Definition:
snr-to-block-error-rate-record.cc:49
ns3::SNRToBlockErrorRateRecord::GetBitErrorRate
double GetBitErrorRate(void)
Definition:
snr-to-block-error-rate-record.cc:65
ns3::SNRToBlockErrorRateRecord::GetSigma2
double GetSigma2(void)
Definition:
snr-to-block-error-rate-record.cc:75
ns3::SNRToBlockErrorRateRecord::~SNRToBlockErrorRateRecord
~SNRToBlockErrorRateRecord(void)
Definition:
snr-to-block-error-rate-record.cc:54
ns3::SNRToBlockErrorRateRecord::GetI2
double GetI2(void)
Definition:
snr-to-block-error-rate-record.cc:85
ns3::SNRToBlockErrorRateRecord::m_sigma2
double m_sigma2
sigma2
Definition:
snr-to-block-error-rate-record.h:111
ns3::SNRToBlockErrorRateRecord::SetI1
void SetI1(double i1)
set the lower boundary of the confidence interval
Definition:
snr-to-block-error-rate-record.cc:106
ns3::SNRToBlockErrorRateRecord::Copy
SNRToBlockErrorRateRecord * Copy()
copy a record
Definition:
snr-to-block-error-rate-record.cc:41
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:28
ns3::SNRToBlockErrorRateRecord::SetBlockErrorRate
void SetBlockErrorRate(double blockErrorRate)
set the BlcER value
Definition:
snr-to-block-error-rate-record.cc:101
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 Tue Feb 6 2024 19:21:30 for ns-3 by
1.9.1