A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
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
40
class
LteInterferenceFrTestSuite
:
public
TestSuite
41
{
42
public
:
43
LteInterferenceFrTestSuite
();
44
};
45
46
54
class
LteInterferenceHardFrTestCase
:
public
TestCase
55
{
56
public
:
66
LteInterferenceHardFrTestCase
(std::string name,
double
d1,
double
d2,
double
dlSinr,
double
ulSinr);
67
virtual
~
LteInterferenceHardFrTestCase
();
68
69
private
:
70
virtual
void
DoRun (
void
);
71
72
double
m_d1
;
73
double
m_d2
;
74
double
m_expectedDlSinrDb
;
75
};
76
83
class
LteInterferenceStrictFrTestCase
:
public
TestCase
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);
101
virtual
~
LteInterferenceStrictFrTestCase
();
102
103
private
:
104
virtual
void
DoRun (
void
);
105
106
double
m_d1
;
107
double
m_d2
;
108
double
m_commonDlSinrDb
;
109
double
m_edgeDlSinrDb
;
110
111
uint32_t
m_rspqThreshold
;
112
};
113
114
#endif
/* LTE_TEST_INTERFERENCE_FR_H */
LteInterferenceFrTestSuite
Test suite for the interference test when using different frequency reuse algorithms....
Definition:
lte-test-interference-fr.h:41
LteInterferenceHardFrTestCase
Lte interference test when using hard frequency reuse algorithm.
Definition:
lte-test-interference-fr.h:55
LteInterferenceHardFrTestCase::m_expectedDlSinrDb
double m_expectedDlSinrDb
expected DL SINR in dB
Definition:
lte-test-interference-fr.h:74
LteInterferenceHardFrTestCase::m_d2
double m_d2
distance between UE and other ENB
Definition:
lte-test-interference-fr.h:73
LteInterferenceHardFrTestCase::m_d1
double m_d1
distance between UE and ENB
Definition:
lte-test-interference-fr.h:72
LteInterferenceStrictFrTestCase
Lte interference test when using strict frequency reuse algorithm.
Definition:
lte-test-interference-fr.h:84
LteInterferenceStrictFrTestCase::m_d1
double m_d1
distance between UE and ENB
Definition:
lte-test-interference-fr.h:106
LteInterferenceStrictFrTestCase::m_rspqThreshold
uint32_t m_rspqThreshold
RSPQ threshold.
Definition:
lte-test-interference-fr.h:111
LteInterferenceStrictFrTestCase::m_commonDlSinrDb
double m_commonDlSinrDb
expected common DL SINR in dB
Definition:
lte-test-interference-fr.h:108
LteInterferenceStrictFrTestCase::m_edgeDlSinrDb
double m_edgeDlSinrDb
expected edge DL SINR in dB
Definition:
lte-test-interference-fr.h:109
LteInterferenceStrictFrTestCase::m_d2
double m_d2
distance between UE and other ENB
Definition:
lte-test-interference-fr.h:107
ns3::TestCase
encapsulates test code
Definition:
test.h:994
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1188
LteInterferenceFrTestSuite
static LteInterferenceFrTestSuite LteInterferenceFrTestSuite
Definition:
lte-test-interference-fr.cc:77
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
test
lte-test-interference-fr.h
Generated on Tue Feb 6 2024 19:21:23 for ns-3 by
1.9.1