A Discrete-Event Network Simulator
API
three-gpp-propagation-loss-model.h
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2019 SIGNET Lab, Department of Information Engineering,
4  * University of Padova
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation;
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  */
19 
20 #ifndef THREE_GPP_PROPAGATION_LOSS_MODEL_H
21 #define THREE_GPP_PROPAGATION_LOSS_MODEL_H
22 
23 #include "ns3/propagation-loss-model.h"
24 #include "ns3/channel-condition-model.h"
25 
26 namespace ns3 {
27 
32 {
33 public:
38  static TypeId GetTypeId (void);
39 
44 
48  virtual ~ThreeGppPropagationLossModel () override;
49 
56 
62 
67  void SetFrequency (double f);
68 
73  double GetFrequency (void) const;
74 
81 
89 
90 private:
100  virtual double DoCalcRxPower (double txPowerDbm,
102  Ptr<MobilityModel> b) const override;
103 
113  virtual int64_t DoAssignStreams (int64_t stream) override;
114 
124  double GetLoss (Ptr<ChannelCondition> cond, double distance2D, double distance3D, double hUt, double hBs) const;
125 
135  virtual double GetLossLos (double distance2D, double distance3D, double hUt, double hBs) const = 0;
136 
146  virtual double GetLossNlos (double distance2D, double distance3D, double hUt, double hBs) const = 0;
147 
158  virtual double GetLossNlosv (double distance2D, double distance3D, double hUt, double hBs) const;
159 
168  virtual std::pair<double, double> GetUtAndBsHeights (double za, double zb) const;
169 
182 
191 
198 
210  static uint32_t GetKey (Ptr<MobilityModel> a, Ptr<MobilityModel> b);
211 
223 
224 protected:
225  virtual void DoDispose () override;
226 
233  static double Calculate2dDistance (Vector a, Vector b);
234 
236  double m_frequency;
239 
242  {
243  double m_shadowing;
245  Vector m_distance;
246  };
247 
248  mutable std::unordered_map<uint32_t, ShadowingMapItem> m_shadowingMap;
249 };
250 
258 {
259 public:
264  static TypeId GetTypeId (void);
265 
270 
274  virtual ~ThreeGppRmaPropagationLossModel () override;
275 
282 
290 
291 private:
301  virtual double GetLossLos (double distance2D, double distance3D, double hUt, double hBs) const override;
302 
312  virtual double GetLossNlos (double distance2D, double distance3D, double hUt, double hBs) const override;
313 
322 
328  virtual double GetShadowingCorrelationDistance (ChannelCondition::LosConditionValue cond) const override;
329 
338  static double Pl1 (double frequency, double distance3D, double h, double w);
339 
347  static double GetBpDistance (double frequency, double hA, double hB);
348 
349  double m_h;
350  double m_w;
351 };
352 
360 {
361 public:
366  static TypeId GetTypeId (void);
367 
372 
376  virtual ~ThreeGppUmaPropagationLossModel () override;
377 
384 
392 
393 private:
403  virtual int64_t DoAssignStreams (int64_t stream) override;
404 
414  double GetLossLos (double distance2D, double distance3D, double hUt, double hBs) const override;
415 
425  double GetLossNlos (double distance2D, double distance3D, double hUt, double hBs) const override;
426 
435 
441  virtual double GetShadowingCorrelationDistance (ChannelCondition::LosConditionValue cond) const override;
442 
450  double GetBpDistance (double hUt, double hBs, double distance2D) const;
451 
453 };
454 
462 {
463 public:
468  static TypeId GetTypeId (void);
469 
474 
479 
486 
494 
495 private:
505  double GetLossLos (double distance2D, double distance3D, double hUt, double hBs) const override;
506 
516  double GetLossNlos (double distance2D, double distance3D, double hUt, double hBs) const override;
517 
526 
532  virtual double GetShadowingCorrelationDistance (ChannelCondition::LosConditionValue cond) const override;
533 
541  double GetBpDistance (double hUt, double hBs, double distance2D) const;
542 
549  std::pair<double, double> GetUtAndBsHeights (double za, double zb) const override;
550 };
551 
559 {
560 public:
565  static TypeId GetTypeId (void);
566 
571 
575  virtual ~ThreeGppIndoorOfficePropagationLossModel () override;
576 
583 
591 
592 private:
602  double GetLossLos (double distance2D, double distance3D, double hUt, double hBs) const override;
603 
613  double GetLossNlos (double distance2D, double distance3D, double hUt, double hBs) const override;
614 
623 
629  virtual double GetShadowingCorrelationDistance (ChannelCondition::LosConditionValue cond) const override;
630 };
631 
632 } // namespace ns3
633 
634 #endif /* THREE_GPP_PROPAGATION_LOSS_MODEL_H */
ns3::ThreeGppPropagationLossModel::m_normRandomVariable
Ptr< NormalRandomVariable > m_normRandomVariable
normal random variable
Definition: three-gpp-propagation-loss-model.h:238
ns3::TypeId
a unique identifier for an interface.
Definition: type-id.h:59
ns3::ThreeGppRmaPropagationLossModel::Pl1
static double Pl1(double frequency, double distance3D, double h, double w)
Computes the PL1 formula for the RMa scenario.
Definition: three-gpp-propagation-loss-model.cc:483
ns3::ThreeGppPropagationLossModel::ShadowingMapItem::m_condition
ChannelCondition::LosConditionValue m_condition
the LOS/NLOS condition
Definition: three-gpp-propagation-loss-model.h:244
ns3::ThreeGppPropagationLossModel::DoCalcRxPower
virtual double DoCalcRxPower(double txPowerDbm, Ptr< MobilityModel > a, Ptr< MobilityModel > b) const override
Computes the received power by applying the pathloss model described in 3GPP TR 38....
Definition: three-gpp-propagation-loss-model.cc:119
ns3::ThreeGppRmaPropagationLossModel
Implements the pathloss model defined in 3GPP TR 38.901, Table 7.4.1-1 for the RMa scenario.
Definition: three-gpp-propagation-loss-model.h:258
ns3::ThreeGppPropagationLossModel::ShadowingMapItem::m_shadowing
double m_shadowing
the shadowing loss in dB
Definition: three-gpp-propagation-loss-model.h:243
ns3::ThreeGppIndoorOfficePropagationLossModel::ThreeGppIndoorOfficePropagationLossModel
ThreeGppIndoorOfficePropagationLossModel()
Constructor.
Definition: three-gpp-propagation-loss-model.cc:931
ns3::ThreeGppIndoorOfficePropagationLossModel::~ThreeGppIndoorOfficePropagationLossModel
virtual ~ThreeGppIndoorOfficePropagationLossModel() override
Destructor.
Definition: three-gpp-propagation-loss-model.cc:940
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::ThreeGppPropagationLossModel::ThreeGppPropagationLossModel
ThreeGppPropagationLossModel(const ThreeGppPropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetLossLos
double GetLossLos(double distance2D, double distance3D, double hUt, double hBs) const override
Computes the pathloss between a and b considering that the line of sight is not obstructed.
Definition: three-gpp-propagation-loss-model.cc:754
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::ThreeGppUmiStreetCanyonPropagationLossModel
ThreeGppUmiStreetCanyonPropagationLossModel(const ThreeGppUmiStreetCanyonPropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppRmaPropagationLossModel::~ThreeGppRmaPropagationLossModel
virtual ~ThreeGppRmaPropagationLossModel() override
Destructor.
Definition: three-gpp-propagation-loss-model.cc:328
ns3::ThreeGppUmaPropagationLossModel::GetLossNlos
double GetLossNlos(double distance2D, double distance3D, double hUt, double hBs) const override
Computes the pathloss between a and b considering that the line of sight is obstructed.
Definition: three-gpp-propagation-loss-model.cc:617
ns3::ThreeGppUmiStreetCanyonPropagationLossModel
Implements the pathloss model defined in 3GPP TR 38.901, Table 7.4.1-1 for the UMi-Street Canyon scen...
Definition: three-gpp-propagation-loss-model.h:462
ns3::PropagationLossModel
Models the propagation loss through a transmission medium.
Definition: propagation-loss-model.h:50
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetShadowingCorrelationDistance
virtual double GetShadowingCorrelationDistance(ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading correlation distance.
Definition: three-gpp-propagation-loss-model.cc:895
ns3::ChannelCondition::LosConditionValue
LosConditionValue
Possible values for Line-of-Sight condition.
Definition: channel-condition-model.h:49
ns3::ThreeGppIndoorOfficePropagationLossModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: three-gpp-propagation-loss-model.cc:922
ns3::ThreeGppIndoorOfficePropagationLossModel::GetShadowingStd
virtual double GetShadowingStd(Ptr< MobilityModel > a, Ptr< MobilityModel > b, ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading standard deviation.
Definition: three-gpp-propagation-loss-model.cc:989
ns3::ThreeGppUmaPropagationLossModel::operator=
ThreeGppUmaPropagationLossModel & operator=(const ThreeGppUmaPropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppPropagationLossModel::GetShadowing
double GetShadowing(Ptr< MobilityModel > a, Ptr< MobilityModel > b, ChannelCondition::LosConditionValue cond) const
Retrieves the shadowing value by looking at m_shadowingMap.
Definition: three-gpp-propagation-loss-model.cc:186
ns3::ThreeGppUmaPropagationLossModel::GetLossLos
double GetLossLos(double distance2D, double distance3D, double hUt, double hBs) const override
Computes the pathloss between a and b considering that the line of sight is not obstructed.
Definition: three-gpp-propagation-loss-model.cc:566
ns3::ThreeGppRmaPropagationLossModel::ThreeGppRmaPropagationLossModel
ThreeGppRmaPropagationLossModel()
Constructor.
Definition: three-gpp-propagation-loss-model.cc:319
ns3::ThreeGppPropagationLossModel::GetShadowingCorrelationDistance
virtual double GetShadowingCorrelationDistance(ChannelCondition::LosConditionValue cond) const =0
Returns the shadow fading correlation distance.
ns3::ThreeGppRmaPropagationLossModel::GetShadowingCorrelationDistance
virtual double GetShadowingCorrelationDistance(ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading correlation distance.
Definition: three-gpp-propagation-loss-model.cc:460
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition: ptr.h:74
ns3::ThreeGppUmaPropagationLossModel::m_uniformVar
Ptr< UniformRandomVariable > m_uniformVar
a uniform random variable used for the computation of the breakpoint distance
Definition: three-gpp-propagation-loss-model.h:452
ns3::ThreeGppRmaPropagationLossModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: three-gpp-propagation-loss-model.cc:301
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::operator=
ThreeGppUmiStreetCanyonPropagationLossModel & operator=(const ThreeGppUmiStreetCanyonPropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppUmaPropagationLossModel::GetBpDistance
double GetBpDistance(double hUt, double hBs, double distance2D) const
Computes the breakpoint distance.
Definition: three-gpp-propagation-loss-model.cc:528
ns3::ThreeGppPropagationLossModel::m_channelConditionModel
Ptr< ChannelConditionModel > m_channelConditionModel
pointer to the channel condition model
Definition: three-gpp-propagation-loss-model.h:235
ns3::ThreeGppUmaPropagationLossModel::ThreeGppUmaPropagationLossModel
ThreeGppUmaPropagationLossModel(const ThreeGppUmaPropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppIndoorOfficePropagationLossModel
Implements the pathloss model defined in 3GPP TR 38.901, Table 7.4.1-1 for the Indoor Office scenario...
Definition: three-gpp-propagation-loss-model.h:559
ns3::ThreeGppRmaPropagationLossModel::ThreeGppRmaPropagationLossModel
ThreeGppRmaPropagationLossModel(const ThreeGppRmaPropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppPropagationLossModel::GetVectorDifference
static Vector GetVectorDifference(Ptr< MobilityModel > a, Ptr< MobilityModel > b)
Get the difference between the node position.
Definition: three-gpp-propagation-loss-model.cc:281
ns3::ThreeGppPropagationLossModel::GetLossNlos
virtual double GetLossNlos(double distance2D, double distance3D, double hUt, double hBs) const =0
Computes the pathloss between a and b considering that the line of sight is obstructed.
ns3::ThreeGppPropagationLossModel::ShadowingMapItem::m_distance
Vector m_distance
the vector AB
Definition: three-gpp-propagation-loss-model.h:245
ns3::ThreeGppRmaPropagationLossModel::GetLossLos
virtual double GetLossLos(double distance2D, double distance3D, double hUt, double hBs) const override
Computes the pathloss between a and b considering that the line of sight is not obstructed.
Definition: three-gpp-propagation-loss-model.cc:334
ns3::ThreeGppRmaPropagationLossModel::m_w
double m_w
average street width in meters
Definition: three-gpp-propagation-loss-model.h:350
ns3::ThreeGppPropagationLossModel::operator=
ThreeGppPropagationLossModel & operator=(const ThreeGppPropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppPropagationLossModel::m_frequency
double m_frequency
operating frequency in Hz
Definition: three-gpp-propagation-loss-model.h:236
ns3::ThreeGppIndoorOfficePropagationLossModel::operator=
ThreeGppIndoorOfficePropagationLossModel & operator=(const ThreeGppIndoorOfficePropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetUtAndBsHeights
std::pair< double, double > GetUtAndBsHeights(double za, double zb) const override
Determines hUT and hBS.
Definition: three-gpp-propagation-loss-model.cc:842
ns3::ThreeGppIndoorOfficePropagationLossModel::GetLossNlos
double GetLossNlos(double distance2D, double distance3D, double hUt, double hBs) const override
Computes the pathloss between a and b considering that the line of sight is obstructed.
Definition: three-gpp-propagation-loss-model.cc:969
ns3::ThreeGppPropagationLossModel::SetFrequency
void SetFrequency(double f)
Set the central frequency of the model.
Definition: three-gpp-propagation-loss-model.cc:104
ns3::ThreeGppRmaPropagationLossModel::GetLossNlos
virtual double GetLossNlos(double distance2D, double distance3D, double hUt, double hBs) const override
Computes the pathloss between a and b considering that the line of sight is obstructed.
Definition: three-gpp-propagation-loss-model.cc:385
ns3::ThreeGppPropagationLossModel::GetChannelConditionModel
Ptr< ChannelConditionModel > GetChannelConditionModel(void) const
Returns the associated channel condition model.
Definition: three-gpp-propagation-loss-model.cc:97
ns3::ThreeGppUmaPropagationLossModel::~ThreeGppUmaPropagationLossModel
virtual ~ThreeGppUmaPropagationLossModel() override
Destructor.
Definition: three-gpp-propagation-loss-model.cc:522
ns3::ThreeGppUmaPropagationLossModel::DoAssignStreams
virtual int64_t DoAssignStreams(int64_t stream) override
If this model uses objects of type RandomVariableStream, set the stream numbers to the integers start...
Definition: three-gpp-propagation-loss-model.cc:701
ns3::ThreeGppPropagationLossModel::ThreeGppPropagationLossModel
ThreeGppPropagationLossModel()
Constructor.
Definition: three-gpp-propagation-loss-model.cc:65
ns3::ThreeGppRmaPropagationLossModel::m_h
double m_h
average building height in meters
Definition: three-gpp-propagation-loss-model.h:349
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: three-gpp-propagation-loss-model.cc:715
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::~ThreeGppUmiStreetCanyonPropagationLossModel
virtual ~ThreeGppUmiStreetCanyonPropagationLossModel() override
Destructor.
Definition: three-gpp-propagation-loss-model.cc:733
ns3::ThreeGppPropagationLossModel::GetShadowingStd
virtual double GetShadowingStd(Ptr< MobilityModel > a, Ptr< MobilityModel > b, ChannelCondition::LosConditionValue cond) const =0
Returns the shadow fading standard deviation.
ns3::ThreeGppPropagationLossModel::GetFrequency
double GetFrequency(void) const
Return the current central frequency.
Definition: three-gpp-propagation-loss-model.cc:112
ns3::ThreeGppRmaPropagationLossModel::operator=
ThreeGppRmaPropagationLossModel & operator=(const ThreeGppRmaPropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppIndoorOfficePropagationLossModel::GetShadowingCorrelationDistance
virtual double GetShadowingCorrelationDistance(ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading correlation distance.
Definition: three-gpp-propagation-loss-model.cc:1013
ns3::ThreeGppUmaPropagationLossModel::GetShadowingStd
virtual double GetShadowingStd(Ptr< MobilityModel > a, Ptr< MobilityModel > b, ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading standard deviation.
Definition: three-gpp-propagation-loss-model.cc:654
ns3::ThreeGppUmaPropagationLossModel
Implements the pathloss model defined in 3GPP TR 38.901, Table 7.4.1-1 for the UMa scenario.
Definition: three-gpp-propagation-loss-model.h:360
f
double f(double x, void *params)
Definition: 80211b.c:70
ns3::ThreeGppPropagationLossModel::DoAssignStreams
virtual int64_t DoAssignStreams(int64_t stream) override
If this model uses objects of type RandomVariableStream, set the stream numbers to the integers start...
Definition: three-gpp-propagation-loss-model.cc:248
ns3::ThreeGppPropagationLossModel::GetLossLos
virtual double GetLossLos(double distance2D, double distance3D, double hUt, double hBs) const =0
Computes the pathloss between a and b considering that the line of sight is not obstructed.
ns3::ThreeGppUmaPropagationLossModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: three-gpp-propagation-loss-model.cc:502
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::ThreeGppUmiStreetCanyonPropagationLossModel
ThreeGppUmiStreetCanyonPropagationLossModel()
Constructor.
Definition: three-gpp-propagation-loss-model.cc:724
ns3::ThreeGppUmaPropagationLossModel::ThreeGppUmaPropagationLossModel
ThreeGppUmaPropagationLossModel()
Constructor.
Definition: three-gpp-propagation-loss-model.cc:512
ns3::ThreeGppPropagationLossModel::m_shadowingEnabled
bool m_shadowingEnabled
enable/disable shadowing
Definition: three-gpp-propagation-loss-model.h:237
ns3::ThreeGppPropagationLossModel::GetLossNlosv
virtual double GetLossNlosv(double distance2D, double distance3D, double hUt, double hBs) const
Computes the pathloss between a and b considering that the line of sight is obstructed by a vehicle.
Definition: three-gpp-propagation-loss-model.cc:178
ns3::ThreeGppRmaPropagationLossModel::GetBpDistance
static double GetBpDistance(double frequency, double hA, double hB)
Computes the breakpoint distance for the RMa scenario.
Definition: three-gpp-propagation-loss-model.cc:491
ns3::ThreeGppPropagationLossModel
Base class for the 3GPP propagation models.
Definition: three-gpp-propagation-loss-model.h:32
ns3::ThreeGppPropagationLossModel::GetUtAndBsHeights
virtual std::pair< double, double > GetUtAndBsHeights(double za, double zb) const
Determines hUT and hBS.
Definition: three-gpp-propagation-loss-model.cc:237
ns3::ThreeGppPropagationLossModel::m_shadowingMap
std::unordered_map< uint32_t, ShadowingMapItem > m_shadowingMap
map to store the shadowing values
Definition: three-gpp-propagation-loss-model.h:248
ns3::ThreeGppPropagationLossModel::DoDispose
virtual void DoDispose() override
Destructor implementation.
Definition: three-gpp-propagation-loss-model.cc:82
ns3::ThreeGppPropagationLossModel::GetLoss
double GetLoss(Ptr< ChannelCondition > cond, double distance2D, double distance3D, double hUt, double hBs) const
Computes the pathloss between a and b.
Definition: three-gpp-propagation-loss-model.cc:153
ns3::ThreeGppRmaPropagationLossModel::GetShadowingStd
virtual double GetShadowingStd(Ptr< MobilityModel > a, Ptr< MobilityModel > b, ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading standard deviation.
Definition: three-gpp-propagation-loss-model.cc:425
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetShadowingStd
virtual double GetShadowingStd(Ptr< MobilityModel > a, Ptr< MobilityModel > b, ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading standard deviation.
Definition: three-gpp-propagation-loss-model.cc:871
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetBpDistance
double GetBpDistance(double hUt, double hBs, double distance2D) const
Computes the breakpoint distance.
Definition: three-gpp-propagation-loss-model.cc:739
ns3::ThreeGppPropagationLossModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: three-gpp-propagation-loss-model.cc:42
ns3::ThreeGppUmaPropagationLossModel::GetShadowingCorrelationDistance
virtual double GetShadowingCorrelationDistance(ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading correlation distance.
Definition: three-gpp-propagation-loss-model.cc:678
ns3::ThreeGppPropagationLossModel::~ThreeGppPropagationLossModel
virtual ~ThreeGppPropagationLossModel() override
Destructor.
Definition: three-gpp-propagation-loss-model.cc:76
ns3::ThreeGppPropagationLossModel::GetKey
static uint32_t GetKey(Ptr< MobilityModel > a, Ptr< MobilityModel > b)
Returns an unique key for the channel between a and b.
Definition: three-gpp-propagation-loss-model.cc:267
ns3::ThreeGppPropagationLossModel::SetChannelConditionModel
void SetChannelConditionModel(Ptr< ChannelConditionModel > model)
Set the channel condition model used to determine the channel state (e.g., the LOS/NLOS condition)
Definition: three-gpp-propagation-loss-model.cc:90
ns3::ThreeGppIndoorOfficePropagationLossModel::ThreeGppIndoorOfficePropagationLossModel
ThreeGppIndoorOfficePropagationLossModel(const ThreeGppIndoorOfficePropagationLossModel &)=delete
Copy constructor.
ns3::ThreeGppPropagationLossModel::ShadowingMapItem
Define a struct for the m_shadowingMap entries.
Definition: three-gpp-propagation-loss-model.h:242
ns3::ThreeGppPropagationLossModel::Calculate2dDistance
static double Calculate2dDistance(Vector a, Vector b)
Computes the 2D distance between two 3D vectors.
Definition: three-gpp-propagation-loss-model.cc:257
ns3::ThreeGppIndoorOfficePropagationLossModel::GetLossLos
double GetLossLos(double distance2D, double distance3D, double hUt, double hBs) const override
Computes the pathloss between a and b considering that the line of sight is not obstructed.
Definition: three-gpp-propagation-loss-model.cc:946
ns3::ThreeGppUmiStreetCanyonPropagationLossModel::GetLossNlos
double GetLossNlos(double distance2D, double distance3D, double hUt, double hBs) const override
Computes the pathloss between a and b considering that the line of sight is obstructed.
Definition: three-gpp-propagation-loss-model.cc:805