A Discrete-Event Network Simulator
API
lte-test-interference-fr.h
Go to the documentation of this file.
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2014 Piotr Gawlowicz
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: Piotr Gawlowicz <gawlowicz.p@gmail.com>
19  * Based on lte-test-interference.{h,cc} by Manuel Requena <manuel.requena@cttc.es>
20  * Nicola Baldo <nbaldo@cttc.es>
21  *
22  */
23 
24 #ifndef LTE_TEST_INTERFERENCE_FR_H
25 #define LTE_TEST_INTERFERENCE_FR_H
26 
27 #include "ns3/test.h"
28 
29 using namespace ns3;
30 
31 
41 {
42 public:
44 };
45 
46 
55 {
56 public:
66  LteInterferenceHardFrTestCase (std::string name, double d1, double d2, double dlSinr, double ulSinr);
68 
69 private:
70  virtual void DoRun (void);
71 
72  double m_d1;
73  double m_d2;
75 };
76 
84 {
85 public:
98  LteInterferenceStrictFrTestCase (std::string name, double d1, double d2,
99  double commonDlSinr, double commonUlSinr, double edgeDlSinr, double edgeUlSinr,
100  uint32_t rspqThreshold);
102 
103 private:
104  virtual void DoRun (void);
105 
106  double m_d1;
107  double m_d2;
109  double m_edgeDlSinrDb;
110 
111  uint32_t m_rspqThreshold;
112 };
113 
114 #endif /* LTE_TEST_INTERFERENCE_FR_H */
double m_d2
distance between UE and other ENB
A suite of tests to run.
Definition: test.h:1342
double m_commonDlSinrDb
expected common DL SINR in dB
double m_d1
distance between UE and ENB
encapsulates test code
Definition: test.h:1155
static LteInterferenceFrTestSuite LteInterferenceFrTestSuite
double m_expectedDlSinrDb
expected DL SINR in dB
double m_d2
distance between UE and other ENB
double m_edgeDlSinrDb
expected edge DL SINR in dB
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint32_t m_rspqThreshold
RSPQ threshold.
Test suite for the interference test when using different frequency reuse algorithms.Check if the interfence values correspond to theoretical values.
Lte interference test when using hard frequency reuse algorithm.
Lte interference test when using strict frequency reuse algorithm.
double m_d1
distance between UE and ENB