A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
buildings-pathloss-test.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
*/
20
21
#ifndef BUILDINGS_PATHLOSS_TEST_H
22
#define BUILDINGS_PATHLOSS_TEST_H
23
24
#include <ns3/test.h>
25
#include <ns3/hybrid-buildings-propagation-loss-model.h>
26
27
28
using namespace
ns3
;
29
39
class
BuildingsPathlossTestSuite
:
public
TestSuite
40
{
41
public
:
42
BuildingsPathlossTestSuite
();
43
};
44
45
53
class
BuildingsPathlossTestCase
:
public
TestCase
54
{
55
public
:
66
BuildingsPathlossTestCase
(
double
freq, uint16_t
m1
, uint16_t
m2
,
EnvironmentType
env,
CitySize
city,
double
refValue, std::string name);
67
virtual
~
BuildingsPathlossTestCase
();
68
69
private
:
70
virtual
void
DoRun (
void
);
76
Ptr<MobilityModel>
CreateMobilityModel (uint16_t index);
77
78
double
m_freq
;
79
uint16_t
m_mobilityModelIndex1
;
80
uint16_t
m_mobilityModelIndex2
;
81
EnvironmentType
m_env
;
82
CitySize
m_city
;
83
double
m_lossRef
;
84
85
};
86
87
88
#endif
/* BUILDING_PATHLOSS_TEST_H */
BuildingsPathlossTestCase
Test 1.1 BuildingsPathlossModel Pathloss test.
Definition:
buildings-pathloss-test.h:54
BuildingsPathlossTestCase::m_mobilityModelIndex2
uint16_t m_mobilityModelIndex2
Second MobilityModel Index.
Definition:
buildings-pathloss-test.h:80
BuildingsPathlossTestCase::m_lossRef
double m_lossRef
Theoretical loss.
Definition:
buildings-pathloss-test.h:83
BuildingsPathlossTestCase::m_city
CitySize m_city
City size.
Definition:
buildings-pathloss-test.h:82
BuildingsPathlossTestCase::m_freq
double m_freq
Communication frequency.
Definition:
buildings-pathloss-test.h:78
BuildingsPathlossTestCase::m_env
EnvironmentType m_env
Enviroment type.
Definition:
buildings-pathloss-test.h:81
BuildingsPathlossTestCase::m_mobilityModelIndex1
uint16_t m_mobilityModelIndex1
First MobilityModel Index.
Definition:
buildings-pathloss-test.h:79
BuildingsPathlossTestSuite
Test 1.1 BuildingsPathlossModel Pathloss compound test.
Definition:
buildings-pathloss-test.h:40
ns3::Ptr< MobilityModel >
ns3::TestCase
encapsulates test code
Definition:
test.h:994
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1188
ns3::EnvironmentType
EnvironmentType
The type of propagation environment.
Definition:
propagation-environment.h:37
ns3::CitySize
CitySize
The size of the city in which propagation takes place.
Definition:
propagation-environment.h:49
MRG32k3a::m1
const double m1
First component modulus, 232 - 209.
Definition:
rng-stream.cc:58
MRG32k3a::m2
const double m2
Second component modulus, 232 - 22853.
Definition:
rng-stream.cc:61
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
buildings
test
buildings-pathloss-test.h
Generated on Tue Feb 6 2024 19:21:16 for ns-3 by
1.9.1