A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
lte-test-harq.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Marco Miozzo <marco.miozzo@cttc.es>
7
*/
8
9
#ifndef LENA_TEST_HARQ_H
10
#define LENA_TEST_HARQ_H
11
12
#include "ns3/simulator.h"
13
#include "ns3/test.h"
14
15
using namespace
ns3
;
16
17
/**
18
* \ingroup lte-test
19
*
20
* \brief This system test program creates different test cases with a single eNB and
21
* several UEs, all having the same Radio Bearer specification. In each test
22
* case, the UEs see the same SINR from the eNB; different test cases are
23
* implemented obtained by using different SINR values and different numbers of
24
* UEs. The test consists on ...
25
*/
26
class
LenaHarqTestCase
:
public
TestCase
27
{
28
public
:
29
/**
30
* Constructor
31
*
32
* \param nUser the number of UE nodes
33
* \param dist the distance between n odes
34
* \param tbSize
35
* \param amcBer the AMC bit error rate
36
* \param thrRef the throughput reference
37
*/
38
LenaHarqTestCase
(uint16_t nUser, uint16_t dist, uint16_t tbSize,
double
amcBer,
double
thrRef);
39
~LenaHarqTestCase
()
override
;
40
41
private
:
42
void
DoRun
()
override
;
43
/**
44
* Build name string function
45
*
46
* \param nUser number of UE nodes
47
* \param dist distance between nodes
48
* \param tbSize
49
* \returns name string
50
*/
51
static
std::string
BuildNameString
(uint16_t nUser, uint16_t dist, uint16_t tbSize);
52
uint16_t
m_nUser
;
///< number of UE nodes
53
uint16_t
m_dist
;
///< distance between nodes
54
double
m_amcBer
;
///< AMC bit error rate
55
double
m_throughputRef
;
///< throughput reference
56
};
57
58
/**
59
* \ingroup lte-test
60
*
61
* \brief Test suite for harq test.
62
*/
63
64
class
LenaTestHarqSuite
:
public
TestSuite
65
{
66
public
:
67
LenaTestHarqSuite
();
68
};
69
70
#endif
/* LENA_TEST_HARQ_H */
LenaHarqTestCase
This system test program creates different test cases with a single eNB and several UEs,...
Definition
lte-test-harq.h:27
LenaHarqTestCase::m_throughputRef
double m_throughputRef
throughput reference
Definition
lte-test-harq.h:55
LenaHarqTestCase::DoRun
void DoRun() override
Implementation to actually run this TestCase.
Definition
lte-test-harq.cc:97
LenaHarqTestCase::m_dist
uint16_t m_dist
distance between nodes
Definition
lte-test-harq.h:53
LenaHarqTestCase::m_nUser
uint16_t m_nUser
number of UE nodes
Definition
lte-test-harq.h:52
LenaHarqTestCase::BuildNameString
static std::string BuildNameString(uint16_t nUser, uint16_t dist, uint16_t tbSize)
Build name string function.
Definition
lte-test-harq.cc:72
LenaHarqTestCase::LenaHarqTestCase
LenaHarqTestCase(uint16_t nUser, uint16_t dist, uint16_t tbSize, double amcBer, double thrRef)
Constructor.
Definition
lte-test-harq.cc:79
LenaHarqTestCase::~LenaHarqTestCase
~LenaHarqTestCase() override
Definition
lte-test-harq.cc:92
LenaHarqTestCase::m_amcBer
double m_amcBer
AMC bit error rate.
Definition
lte-test-harq.h:54
LenaTestHarqSuite
Test suite for harq test.
Definition
lte-test-harq.h:65
LenaTestHarqSuite::LenaTestHarqSuite
LenaTestHarqSuite()
Definition
lte-test-harq.cc:47
ns3::TestCase
encapsulates test code
Definition
test.h:1050
ns3::TestSuite
A suite of tests to run.
Definition
test.h:1267
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
test
lte-test-harq.h
Generated on Fri Nov 8 2024 13:59:04 for ns-3 by
1.11.0