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
kun-2600-mhz-propagation-loss-model.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011, 2012 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
* Nicola Baldo <nbaldo@cttc.es>
8
*
9
*/
10
11
#ifndef KUN_2600MHZ_PROPAGATION_LOSS_MODEL_H
12
#define KUN_2600MHZ_PROPAGATION_LOSS_MODEL_H
13
14
#include "
propagation-loss-model.h
"
15
16
namespace
ns3
17
{
18
19
/**
20
* \ingroup propagation
21
*
22
* \brief Empirical propagation model for the 2.6 GHz frequency
23
*
24
* This class implements the empirical model for 2.6 GHz taken from this paper:
25
* Sun Kun, Wang Ping, Li Yingze
26
* "Path Loss Models for Suburban Scenario at 2.3GHz, 2.6GHz and 3.5GHz"
27
* 8th International Symposium on Antennas, Propagation and EM Theory (ISAPE), 2008.
28
*/
29
class
Kun2600MhzPropagationLossModel
:
public
PropagationLossModel
30
{
31
public
:
32
/**
33
* \brief Get the type ID.
34
* \return the object TypeId
35
*/
36
static
TypeId
GetTypeId
();
37
38
Kun2600MhzPropagationLossModel
();
39
~Kun2600MhzPropagationLossModel
()
override
;
40
41
// Delete copy constructor and assignment operator to avoid misuse
42
Kun2600MhzPropagationLossModel
(
const
Kun2600MhzPropagationLossModel
&) =
delete
;
43
Kun2600MhzPropagationLossModel
&
operator=
(
const
Kun2600MhzPropagationLossModel
&) =
delete
;
44
45
/**
46
* \param a the first mobility model
47
* \param b the second mobility model
48
*
49
* \return the loss in dBm for the propagation between
50
* the two given mobility models
51
*/
52
double
GetLoss
(
Ptr<MobilityModel>
a,
Ptr<MobilityModel>
b)
const
;
53
54
private
:
55
// inherited from PropagationLossModel
56
double
DoCalcRxPower
(
double
txPowerDbm,
57
Ptr<MobilityModel>
a,
58
Ptr<MobilityModel>
b)
const override
;
59
int64_t
DoAssignStreams
(int64_t stream)
override
;
60
};
61
62
}
// namespace ns3
63
64
#endif
// KUN_2600MHZ_PROPAGATION_LOSS_MODEL_H
ns3::Kun2600MhzPropagationLossModel
Empirical propagation model for the 2.6 GHz frequency.
Definition
kun-2600-mhz-propagation-loss-model.h:30
ns3::Kun2600MhzPropagationLossModel::GetLoss
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
Definition
kun-2600-mhz-propagation-loss-model.cc:47
ns3::Kun2600MhzPropagationLossModel::DoAssignStreams
int64_t DoAssignStreams(int64_t stream) override
Assign a fixed random variable stream number to the random variables used by this model.
Definition
kun-2600-mhz-propagation-loss-model.cc:63
ns3::Kun2600MhzPropagationLossModel::~Kun2600MhzPropagationLossModel
~Kun2600MhzPropagationLossModel() override
Definition
kun-2600-mhz-propagation-loss-model.cc:42
ns3::Kun2600MhzPropagationLossModel::Kun2600MhzPropagationLossModel
Kun2600MhzPropagationLossModel()
Definition
kun-2600-mhz-propagation-loss-model.cc:37
ns3::Kun2600MhzPropagationLossModel::DoCalcRxPower
double DoCalcRxPower(double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const override
PropagationLossModel.
Definition
kun-2600-mhz-propagation-loss-model.cc:55
ns3::Kun2600MhzPropagationLossModel::operator=
Kun2600MhzPropagationLossModel & operator=(const Kun2600MhzPropagationLossModel &)=delete
ns3::Kun2600MhzPropagationLossModel::Kun2600MhzPropagationLossModel
Kun2600MhzPropagationLossModel(const Kun2600MhzPropagationLossModel &)=delete
ns3::Kun2600MhzPropagationLossModel::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
kun-2600-mhz-propagation-loss-model.cc:27
ns3::PropagationLossModel
Models the propagation loss through a transmission medium.
Definition
propagation-loss-model.h:45
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
propagation-loss-model.h
src
propagation
model
kun-2600-mhz-propagation-loss-model.h
Generated on Fri Nov 8 2024 13:59:05 for ns-3 by
1.11.0