A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
lte-test-interference-fr.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2014 Piotr Gawlowicz
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Piotr Gawlowicz <gawlowicz.p@gmail.com>
7
* Based on lte-test-interference.{h,cc} by:
8
* Manuel Requena <manuel.requena@cttc.es>
9
* Nicola Baldo <nbaldo@cttc.es>
10
*/
11
12
#ifndef LTE_TEST_INTERFERENCE_FR_H
13
#define LTE_TEST_INTERFERENCE_FR_H
14
15
#include "ns3/test.h"
16
17
using namespace
ns3
;
18
19
/**
20
* \ingroup lte-test
21
*
22
* \brief Test suite for the interference test when using different
23
* frequency reuse algorithms.Check if the interfence values correspond to
24
* theoretical values.
25
*/
26
class
LteInterferenceFrTestSuite
:
public
TestSuite
27
{
28
public
:
29
LteInterferenceFrTestSuite
();
30
};
31
32
/**
33
* \ingroup lte-test
34
*
35
* \brief Lte interference test when using hard frequency reuse algorithm. Check
36
* if the interfence values correspond to theoretical values.
37
*/
38
class
LteInterferenceHardFrTestCase
:
public
TestCase
39
{
40
public
:
41
/**
42
* Constructor
43
*
44
* \param name the reference name
45
* \param d1 distance between ENB and UE
46
* \param d2 distance between ENB and other UE
47
* \param dlSinr the DL SINR
48
* \param ulSinr the UL SINR
49
*/
50
LteInterferenceHardFrTestCase
(std::string name,
51
double
d1,
52
double
d2,
53
double
dlSinr,
54
double
ulSinr);
55
~LteInterferenceHardFrTestCase
()
override
;
56
57
private
:
58
void
DoRun
()
override
;
59
60
double
m_d1
;
///< distance between UE and ENB
61
double
m_d2
;
///< distance between UE and other ENB
62
double
m_expectedDlSinrDb
;
///< expected DL SINR in dB
63
};
64
65
/**
66
* \ingroup lte-test
67
*
68
* \brief Lte interference test when using strict frequency reuse algorithm.
69
*/
70
class
LteInterferenceStrictFrTestCase
:
public
TestCase
71
{
72
public
:
73
/**
74
* Constructor
75
*
76
* \param name the reference name
77
* \param d1 distance between ENB and UE
78
* \param d2 distance between ENB and other UE
79
* \param commonDlSinr the DL SINR
80
* \param commonUlSinr the UL SINR
81
* \param edgeDlSinr the DL SINR
82
* \param edgeUlSinr the UL SINR
83
* \param rspqThreshold RSPQ threshold
84
*/
85
LteInterferenceStrictFrTestCase
(std::string name,
86
double
d1,
87
double
d2,
88
double
commonDlSinr,
89
double
commonUlSinr,
90
double
edgeDlSinr,
91
double
edgeUlSinr,
92
uint32_t
rspqThreshold);
93
~LteInterferenceStrictFrTestCase
()
override
;
94
95
private
:
96
void
DoRun
()
override
;
97
98
double
m_d1
;
///< distance between UE and ENB
99
double
m_d2
;
///< distance between UE and other ENB
100
double
m_commonDlSinrDb
;
///< expected common DL SINR in dB
101
double
m_edgeDlSinrDb
;
///< expected edge DL SINR in dB
102
103
uint32_t
m_rspqThreshold
;
///< RSPQ threshold
104
};
105
106
#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:27
LteInterferenceFrTestSuite::LteInterferenceFrTestSuite
LteInterferenceFrTestSuite()
TestSuite.
Definition
lte-test-interference-fr.cc:42
LteInterferenceHardFrTestCase
Lte interference test when using hard frequency reuse algorithm.
Definition
lte-test-interference-fr.h:39
LteInterferenceHardFrTestCase::m_expectedDlSinrDb
double m_expectedDlSinrDb
expected DL SINR in dB
Definition
lte-test-interference-fr.h:62
LteInterferenceHardFrTestCase::DoRun
void DoRun() override
Implementation to actually run this TestCase.
Definition
lte-test-interference-fr.cc:138
LteInterferenceHardFrTestCase::m_d2
double m_d2
distance between UE and other ENB
Definition
lte-test-interference-fr.h:61
LteInterferenceHardFrTestCase::m_d1
double m_d1
distance between UE and ENB
Definition
lte-test-interference-fr.h:60
LteInterferenceHardFrTestCase::LteInterferenceHardFrTestCase
LteInterferenceHardFrTestCase(std::string name, double d1, double d2, double dlSinr, double ulSinr)
Constructor.
Definition
lte-test-interference-fr.cc:120
LteInterferenceHardFrTestCase::~LteInterferenceHardFrTestCase
~LteInterferenceHardFrTestCase() override
Definition
lte-test-interference-fr.cc:133
LteInterferenceStrictFrTestCase
Lte interference test when using strict frequency reuse algorithm.
Definition
lte-test-interference-fr.h:71
LteInterferenceStrictFrTestCase::m_d1
double m_d1
distance between UE and ENB
Definition
lte-test-interference-fr.h:98
LteInterferenceStrictFrTestCase::m_rspqThreshold
uint32_t m_rspqThreshold
RSPQ threshold.
Definition
lte-test-interference-fr.h:103
LteInterferenceStrictFrTestCase::DoRun
void DoRun() override
Implementation to actually run this TestCase.
Definition
lte-test-interference-fr.cc:313
LteInterferenceStrictFrTestCase::m_commonDlSinrDb
double m_commonDlSinrDb
expected common DL SINR in dB
Definition
lte-test-interference-fr.h:100
LteInterferenceStrictFrTestCase::m_edgeDlSinrDb
double m_edgeDlSinrDb
expected edge DL SINR in dB
Definition
lte-test-interference-fr.h:101
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:290
LteInterferenceStrictFrTestCase::m_d2
double m_d2
distance between UE and other ENB
Definition
lte-test-interference-fr.h:99
LteInterferenceStrictFrTestCase::~LteInterferenceStrictFrTestCase
~LteInterferenceStrictFrTestCase() override
Definition
lte-test-interference-fr.cc:308
ns3::TestCase
encapsulates test code
Definition
test.h:1050
ns3::TestSuite
A suite of tests to run.
Definition
test.h:1267
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 Fri Nov 8 2024 13:59:04 for ns-3 by
1.11.0