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 
35 {
36 public:
38 };
39 
40 
42 {
43 public:
44  LteInterferenceHardFrTestCase (std::string name, double d1, double d2, double dlSinr, double ulSinr);
46 
47 private:
48  virtual void DoRun (void);
49 
50  double m_d1;
51  double m_d2;
53 };
54 
56 {
57 public:
58  LteInterferenceStrictFrTestCase (std::string name, double d1, double d2,
59  double commonDlSinr, double commonUlSinr, double edgeDlSinr, double edgeUlSinr,
60  uint32_t rspqThreshold);
62 
63 private:
64  virtual void DoRun (void);
65 
66  double m_d1;
67  double m_d2;
70 
71  uint32_t m_rspqThreshold;
72 };
73 
74 #endif /* LTE_TEST_INTERFERENCE_FR_H */
A suite of tests to run.
Definition: test.h:1333
encapsulates test code
Definition: test.h:1147
static LteInterferenceFrTestSuite LteInterferenceFrTestSuite
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Test Interference level with FR algorithms.