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 * 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
28using namespace ns3;
29
38{
39 public:
41};
42
50{
51 public:
61 LteInterferenceHardFrTestCase(std::string name,
62 double d1,
63 double d2,
64 double dlSinr,
65 double ulSinr);
67
68 private:
69 void DoRun() override;
70
71 double m_d1;
72 double m_d2;
74};
75
82{
83 public:
96 LteInterferenceStrictFrTestCase(std::string name,
97 double d1,
98 double d2,
99 double commonDlSinr,
100 double commonUlSinr,
101 double edgeDlSinr,
102 double edgeUlSinr,
103 uint32_t rspqThreshold);
105
106 private:
107 void DoRun() override;
108
109 double m_d1;
110 double m_d2;
113
115};
116
117#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
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
double m_d2
distance between UE and other ENB
encapsulates test code
Definition: test.h:1060
A suite of tests to run.
Definition: test.h:1256
Every class exported by the ns3 library is enclosed in the ns3 namespace.