A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
lte-test-pf-ff-mac-scheduler.h
Go to the documentation of this file.
1
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
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: Marco Miozzo <marco.miozzo@cttc.es>,
19
* Nicola Baldo <nbaldo@cttc.es>
20
*/
21
22
#ifndef LENA_TEST_PF_FF_MAC_SCHEDULER_H
23
#define LENA_TEST_PF_FF_MAC_SCHEDULER_H
24
25
#include "ns3/simulator.h"
26
#include "ns3/test.h"
27
28
29
namespace
ns3 {
30
31
41
class
LenaPfFfMacSchedulerTestCase1
:
public
TestCase
42
{
43
public
:
44
LenaPfFfMacSchedulerTestCase1
(uint16_t nUser, uint16_t nLc, uint16_t dist,
double
thrRefDl,
double
thrRefUl);
45
virtual
~LenaPfFfMacSchedulerTestCase1
();
46
47
private
:
48
static
std::string
BuildNameString
(uint16_t nUser, uint16_t dist);
49
virtual
void
DoRun
(
void
);
50
uint16_t
m_nUser
;
51
uint16_t
m_nLc
;
52
uint16_t
m_dist
;
53
double
m_thrRefDl
;
54
double
m_thrRefUl
;
55
};
56
57
58
class
LenaPfFfMacSchedulerTestCase2
:
public
TestCase
59
{
60
public
:
61
LenaPfFfMacSchedulerTestCase2
(std::vector<uint16_t> dist, std::vector<uint32_t> estThrPfDl, std::vector<uint32_t> estThrPfUl);
62
virtual
~LenaPfFfMacSchedulerTestCase2
();
63
64
private
:
65
static
std::string
BuildNameString
(uint16_t nUser, std::vector<uint16_t> dist);
66
virtual
void
DoRun
(
void
);
67
uint16_t
m_nUser
;
68
std::vector<uint16_t>
m_dist
;
69
std::vector<uint32_t>
m_estThrPfDl
;
70
std::vector<uint32_t>
m_estThrPfUl
;
71
};
72
73
74
75
76
class
LenaTestPfFfMacSchedulerSuite
:
public
TestSuite
77
{
78
public
:
79
LenaTestPfFfMacSchedulerSuite
();
80
};
81
82
83
84
85
}
// namespace ns3
86
87
88
#endif
/* LENA_TEST_PF_FF_MAC_SCHEDULER_H */
src
lte
test
lte-test-pf-ff-mac-scheduler.h
Generated on Tue Oct 9 2012 16:45:41 for ns-3 by
1.8.1.2