This documentation is not the Latest Release.
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;
54 };
55 
57 {
58 public:
59  LteInterferenceStrictFrTestCase (std::string name, double d1, double d2,
60  double commonDlSinr, double commonUlSinr, double edgeDlSinr, double edgeUlSinr,
61  uint32_t rspqThreshold);
63 
64 private:
65  virtual void DoRun (void);
66 
67  double m_d1;
68  double m_d2;
73 
74  uint32_t m_rspqThreshold;
75 };
76 
77 #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.