A Discrete-Event Network Simulator
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
17using 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 */
27{
28 public:
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 */
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);
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 */
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);
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 */
Test suite for the interference test when using different frequency reuse algorithms....
Lte interference test when using hard frequency reuse algorithm.
double m_expectedDlSinrDb
expected DL SINR in dB
void DoRun() override
Implementation to actually run this TestCase.
double m_d2
distance between UE and other ENB
double m_d1
distance between UE and ENB
LteInterferenceHardFrTestCase(std::string name, double d1, double d2, double dlSinr, double ulSinr)
Constructor.
Lte interference test when using strict frequency reuse algorithm.
double m_d1
distance between UE and ENB
void DoRun() override
Implementation to actually run this TestCase.
double m_commonDlSinrDb
expected common DL SINR in dB
double m_edgeDlSinrDb
expected edge DL SINR in dB
LteInterferenceStrictFrTestCase(std::string name, double d1, double d2, double commonDlSinr, double commonUlSinr, double edgeDlSinr, double edgeUlSinr, uint32_t rspqThreshold)
Constructor.
double m_d2
distance between UE and other ENB
encapsulates test code
Definition test.h:1050
A suite of tests to run.
Definition test.h:1267
Every class exported by the ns3 library is enclosed in the ns3 namespace.