A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
lte-test-interference-fr.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2014 Piotr Gawlowicz
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: Piotr Gawlowicz <gawlowicz.p@gmail.com>
18
* Based on lte-test-interference.{h,cc} by Manuel Requena <manuel.requena@cttc.es>
19
* Nicola Baldo <nbaldo@cttc.es>
20
*
21
*/
22
23
#ifndef LTE_TEST_INTERFERENCE_FR_H
24
#define LTE_TEST_INTERFERENCE_FR_H
25
26
#include "ns3/test.h"
27
28
using namespace
ns3
;
29
38
class
LteInterferenceFrTestSuite
:
public
TestSuite
39
{
40
public
:
41
LteInterferenceFrTestSuite
();
42
};
43
51
class
LteInterferenceHardFrTestCase
:
public
TestCase
52
{
53
public
:
63
LteInterferenceHardFrTestCase
(std::string name,
64
double
d1,
65
double
d2,
66
double
dlSinr,
67
double
ulSinr);
68
~LteInterferenceHardFrTestCase
()
override
;
69
70
private
:
71
void
DoRun
()
override
;
72
73
double
m_d1
;
74
double
m_d2
;
75
double
m_expectedDlSinrDb
;
76
};
77
84
class
LteInterferenceStrictFrTestCase
:
public
TestCase
85
{
86
public
:
99
LteInterferenceStrictFrTestCase
(std::string name,
100
double
d1,
101
double
d2,
102
double
commonDlSinr,
103
double
commonUlSinr,
104
double
edgeDlSinr,
105
double
edgeUlSinr,
106
uint32_t
rspqThreshold);
107
~LteInterferenceStrictFrTestCase
()
override
;
108
109
private
:
110
void
DoRun
()
override
;
111
112
double
m_d1
;
113
double
m_d2
;
114
double
m_commonDlSinrDb
;
115
double
m_edgeDlSinrDb
;
116
117
uint32_t
m_rspqThreshold
;
118
};
119
120
#endif
/* LTE_TEST_INTERFERENCE_FR_H */
LteInterferenceFrTestSuite
Test suite for the interference test when using different frequency reuse algorithms....
Definition:
lte-test-interference-fr.h:39
LteInterferenceFrTestSuite::LteInterferenceFrTestSuite
LteInterferenceFrTestSuite()
TestSuite.
Definition:
lte-test-interference-fr.cc:53
LteInterferenceHardFrTestCase
Lte interference test when using hard frequency reuse algorithm.
Definition:
lte-test-interference-fr.h:52
LteInterferenceHardFrTestCase::m_expectedDlSinrDb
double m_expectedDlSinrDb
expected DL SINR in dB
Definition:
lte-test-interference-fr.h:75
LteInterferenceHardFrTestCase::DoRun
void DoRun() override
Implementation to actually run this TestCase.
Definition:
lte-test-interference-fr.cc:145
LteInterferenceHardFrTestCase::m_d2
double m_d2
distance between UE and other ENB
Definition:
lte-test-interference-fr.h:74
LteInterferenceHardFrTestCase::m_d1
double m_d1
distance between UE and ENB
Definition:
lte-test-interference-fr.h:73
LteInterferenceHardFrTestCase::LteInterferenceHardFrTestCase
LteInterferenceHardFrTestCase(std::string name, double d1, double d2, double dlSinr, double ulSinr)
Constructor.
Definition:
lte-test-interference-fr.cc:127
LteInterferenceHardFrTestCase::~LteInterferenceHardFrTestCase
~LteInterferenceHardFrTestCase() override
Definition:
lte-test-interference-fr.cc:140
LteInterferenceStrictFrTestCase
Lte interference test when using strict frequency reuse algorithm.
Definition:
lte-test-interference-fr.h:85
LteInterferenceStrictFrTestCase::m_d1
double m_d1
distance between UE and ENB
Definition:
lte-test-interference-fr.h:112
LteInterferenceStrictFrTestCase::m_rspqThreshold
uint32_t m_rspqThreshold
RSPQ threshold.
Definition:
lte-test-interference-fr.h:117
LteInterferenceStrictFrTestCase::DoRun
void DoRun() override
Implementation to actually run this TestCase.
Definition:
lte-test-interference-fr.cc:320
LteInterferenceStrictFrTestCase::m_commonDlSinrDb
double m_commonDlSinrDb
expected common DL SINR in dB
Definition:
lte-test-interference-fr.h:114
LteInterferenceStrictFrTestCase::m_edgeDlSinrDb
double m_edgeDlSinrDb
expected edge DL SINR in dB
Definition:
lte-test-interference-fr.h:115
LteInterferenceStrictFrTestCase::LteInterferenceStrictFrTestCase
LteInterferenceStrictFrTestCase(std::string name, double d1, double d2, double commonDlSinr, double commonUlSinr, double edgeDlSinr, double edgeUlSinr, uint32_t rspqThreshold)
Constructor.
Definition:
lte-test-interference-fr.cc:297
LteInterferenceStrictFrTestCase::m_d2
double m_d2
distance between UE and other ENB
Definition:
lte-test-interference-fr.h:113
LteInterferenceStrictFrTestCase::~LteInterferenceStrictFrTestCase
~LteInterferenceStrictFrTestCase() override
Definition:
lte-test-interference-fr.cc:315
ns3::TestCase
encapsulates test code
Definition:
test.h:1060
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1256
uint32_t
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
test
lte-test-interference-fr.h
Generated on Tue Nov 1 2022 23:00:15 for ns-3 by
1.9.3