A Discrete-Event Network Simulator
API
channel-condition-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 CHANNEL_CONDITION_MODEL_H
21 #define CHANNEL_CONDITION_MODEL_H
22 
23 #include "ns3/object.h"
24 #include "ns3/random-variable-stream.h"
25 #include "ns3/vector.h"
26 #include "ns3/nstime.h"
27 #include <unordered_map>
28 
29 namespace ns3 {
30 
31 class MobilityModel;
32 
41 class ChannelCondition : public Object
42 {
43 
44 public:
49  {
50  LOS,
51  NLOS,
53  LC_ND
54  };
55 
60  {
61  O2O,
62  O2I,
63  I2I,
64  O2I_ND
65  };
66 
72  static TypeId GetTypeId (void);
73 
78 
84  ChannelCondition (LosConditionValue losCondition, O2iConditionValue o2iCondition = O2O);
85 
89  virtual ~ChannelCondition ();
90 
98 
105  void SetLosCondition (LosConditionValue losCondition);
106 
114 
121  void SetO2iCondition (O2iConditionValue o2iCondition);
122 
128  bool IsLos () const;
129 
139  bool IsNlos () const;
140 
146  bool IsNlosv () const;
147 
153  bool IsO2i () const;
154 
160  bool IsO2o () const;
161 
167  bool IsI2i () const;
168 
175  bool IsEqual (Ptr<const ChannelCondition> otherCondition) const;
176 
177 private:
180 
188  friend std::ostream& operator<< (std::ostream& os, LosConditionValue cond);
189 
190 };
191 
201 {
202 public:
208  static TypeId GetTypeId (void);
209 
214 
218  virtual ~ChannelConditionModel ();
219 
229 
239  virtual int64_t AssignStreams (int64_t stream) = 0;
240 
247 
255 };
256 
263 {
264 public:
270  static TypeId GetTypeId (void);
271 
276 
281 
290 
297 
305 
315  virtual int64_t AssignStreams (int64_t stream) override;
316 };
317 
324 {
325 public:
331  static TypeId GetTypeId (void);
332 
337 
342 
351 
358 
366 
376  virtual int64_t AssignStreams (int64_t stream) override;
377 };
378 
385 {
386 public:
392  static TypeId GetTypeId (void);
393 
398 
403 
412 
419 
427 
437  virtual int64_t AssignStreams (int64_t stream) override;
438 };
439 
447 {
448 public:
454  static TypeId GetTypeId (void);
455 
460 
464  virtual ~ThreeGppChannelConditionModel () override;
465 
478 
488  virtual int64_t AssignStreams (int64_t stream) override;
489 
490 protected:
491  virtual void DoDispose () override;
492 
497  {
501  INVALID
502  };
503 
510  static double Calculate2dDistance (const Vector &a, const Vector &b);
511 
513 
514 private:
524 
533 
542 
550 
554  struct Item
555  {
558  };
559 
560  std::unordered_map<uint32_t, Item> m_channelConditionMap;
562 };
563 
573 {
574 public:
580  static TypeId GetTypeId (void);
581 
586 
590  virtual ~ThreeGppRmaChannelConditionModel () override;
591 
592 private:
601  virtual double ComputePlos (Ptr<const MobilityModel> a, Ptr<const MobilityModel> b) const override;
602 };
603 
613 {
614 public:
620  static TypeId GetTypeId (void);
621 
626 
630  virtual ~ThreeGppUmaChannelConditionModel () override;
631 
632 private:
641  virtual double ComputePlos (Ptr<const MobilityModel> a, Ptr<const MobilityModel> b) const override;
642 };
643 
653 {
654 public:
660  static TypeId GetTypeId (void);
661 
666 
671 
672 private:
681  virtual double ComputePlos (Ptr<const MobilityModel> a, Ptr<const MobilityModel> b) const override;
682 };
683 
693 {
694 public:
700  static TypeId GetTypeId (void);
701 
706 
711 
712 private:
721  virtual double ComputePlos (Ptr<const MobilityModel> a, Ptr<const MobilityModel> b) const override;
722 };
723 
733 {
734 public:
740  static TypeId GetTypeId (void);
741 
746 
751 
752 private:
761  virtual double ComputePlos (Ptr<const MobilityModel> a, Ptr<const MobilityModel> b) const override;
762 };
763 
764 } // end ns3 namespace
765 
766 #endif /* CHANNEL_CONDITION_MODEL_H */
ns3::ChannelCondition::IsLos
bool IsLos() const
Return true if the channel condition is LOS.
Definition: channel-condition-model.cc:84
ns3::TypeId
a unique identifier for an interface.
Definition: type-id.h:59
ns3::NeverLosVehicleChannelConditionModel::~NeverLosVehicleChannelConditionModel
virtual ~NeverLosVehicleChannelConditionModel()
Destructor.
Definition: channel-condition-model.cc:259
ns3::AlwaysLosChannelConditionModel::AlwaysLosChannelConditionModel
AlwaysLosChannelConditionModel()
Constructor.
Definition: channel-condition-model.cc:178
ns3::AlwaysLosChannelConditionModel::~AlwaysLosChannelConditionModel
virtual ~AlwaysLosChannelConditionModel()
Destructor.
Definition: channel-condition-model.cc:181
ns3::ChannelCondition::m_losCondition
LosConditionValue m_losCondition
contains the information about the LOS state of the channel
Definition: channel-condition-model.h:178
ns3::AlwaysLosChannelConditionModel
Models an always in-LoS condition model.
Definition: channel-condition-model.h:263
ns3::ChannelConditionModel::operator=
ChannelConditionModel & operator=(const ChannelConditionModel &)=delete
Copy constructor.
ns3::ThreeGppChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:283
ns3::AlwaysLosChannelConditionModel::AssignStreams
virtual int64_t AssignStreams(int64_t stream) override
If this model uses objects of type RandomVariableStream, set the stream numbers to the integers start...
Definition: channel-condition-model.cc:197
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::ChannelCondition::IsO2o
bool IsO2o() const
Return true if the channel is outdoor-to-outdoor.
Definition: channel-condition-model.cc:108
ns3::ThreeGppChannelConditionModel::m_updatePeriod
Time m_updatePeriod
the update period for the channel condition
Definition: channel-condition-model.h:561
ns3::ChannelCondition::O2I_ND
@ O2I_ND
Outdoor to Indoor condition not defined.
Definition: channel-condition-model.h:64
ns3::ChannelConditionModel::ChannelConditionModel
ChannelConditionModel()
Constructor for the ChannelConditionModel class.
Definition: channel-condition-model.cc:157
ns3::ChannelCondition::IsNlosv
bool IsNlosv() const
Return true if the channel condition is NLOSv.
Definition: channel-condition-model.cc:96
ns3::ThreeGppChannelConditionModel::ComputePnlos
virtual double ComputePnlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const
Compute the NLOS probability.
Definition: channel-condition-model.cc:398
ns3::ChannelCondition
Carries information about the LOS/NLOS channel state.
Definition: channel-condition-model.h:42
ns3::ThreeGppUmiStreetCanyonChannelConditionModel::ComputePlos
virtual double ComputePlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Compute the LOS probability as specified in Table 7.4.2-1 of 3GPP TR 38.901 for the UMi-Street Canyon...
Definition: channel-condition-model.cc:574
ns3::NeverLosVehicleChannelConditionModel::AssignStreams
virtual int64_t AssignStreams(int64_t stream) override
If this model uses objects of type RandomVariableStream, set the stream numbers to the integers start...
Definition: channel-condition-model.cc:273
ns3::ChannelCondition::LC_ND
@ LC_ND
Los condition not defined.
Definition: channel-condition-model.h:53
ns3::ThreeGppChannelConditionModel::DoDispose
virtual void DoDispose() override
Destructor implementation.
Definition: channel-condition-model.cc:307
ns3::ChannelCondition::O2O
@ O2O
Outdoor to Outdoor.
Definition: channel-condition-model.h:61
ns3::ThreeGppIndoorOpenOfficeChannelConditionModel::ComputePlos
virtual double ComputePlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Compute the LOS probability as specified in Table 7.4.2-1 of 3GPP TR 38.901 for the Indoor Open Offic...
Definition: channel-condition-model.cc:684
ns3::ThreeGppIndoorMixedOfficeChannelConditionModel
Computes the channel condition for the Indoor Mixed Office scenario.
Definition: channel-condition-model.h:693
ns3::ThreeGppRmaChannelConditionModel
Computes the channel condition for the RMa scenario.
Definition: channel-condition-model.h:573
ns3::ThreeGppUmaChannelConditionModel
Computes the channel condition for the UMa scenario.
Definition: channel-condition-model.h:613
ns3::ThreeGppChannelConditionModel::ComputeChannelCondition
Ptr< ChannelCondition > ComputeChannelCondition(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const
This method computes the channel condition based on a probabilistic model that is specific for the sc...
Definition: channel-condition-model.cc:362
ns3::ThreeGppIndoorMixedOfficeChannelConditionModel::ThreeGppIndoorMixedOfficeChannelConditionModel
ThreeGppIndoorMixedOfficeChannelConditionModel()
Constructor for the ThreeGppIndoorMixedOfficeChannelConditionModel class.
Definition: channel-condition-model.cc:619
ns3::ChannelCondition::m_o2iCondition
O2iConditionValue m_o2iCondition
contains the information about the O2I state of the channel
Definition: channel-condition-model.h:179
ns3::NeverLosChannelConditionModel::NeverLosChannelConditionModel
NeverLosChannelConditionModel(const NeverLosChannelConditionModel &)=delete
Copy constructor.
ns3::ChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:148
ns3::ThreeGppChannelConditionModel::GetChannelCondition
virtual Ptr< ChannelCondition > GetChannelCondition(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Retrieve the condition of the channel between a and b.
Definition: channel-condition-model.cc:314
ns3::ChannelCondition::LosConditionValue
LosConditionValue
Possible values for Line-of-Sight condition.
Definition: channel-condition-model.h:49
ns3::ChannelCondition::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:36
ns3::ChannelCondition::LOS
@ LOS
Line of Sight.
Definition: channel-condition-model.h:50
ns3::ChannelCondition::ChannelCondition
ChannelCondition()
Constructor for the ChannelCondition class.
Definition: channel-condition-model.cc:45
ns3::ChannelCondition::O2I
@ O2I
Outdoor to Indoor.
Definition: channel-condition-model.h:62
ns3::ThreeGppUmaChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:488
ns3::NeverLosVehicleChannelConditionModel::operator=
NeverLosVehicleChannelConditionModel & operator=(const NeverLosVehicleChannelConditionModel &)=delete
Copy constructor.
ns3::ChannelConditionModel::GetChannelCondition
virtual Ptr< ChannelCondition > GetChannelCondition(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const =0
Computes the condition of the channel between a and b.
ns3::ChannelCondition::I2I
@ I2I
Indoor to Indoor.
Definition: channel-condition-model.h:63
ns3::ChannelCondition::SetLosCondition
void SetLosCondition(LosConditionValue losCondition)
Set the LosConditionValue with the information about the LOS/NLOS state of the channel.
Definition: channel-condition-model.cc:66
ns3::ChannelCondition::IsO2i
bool IsO2i() const
Return true if the channel is outdoor-to-indoor.
Definition: channel-condition-model.cc:102
ns3::ChannelConditionModel::~ChannelConditionModel
virtual ~ChannelConditionModel()
Destructor for the ChannelConditionModel class.
Definition: channel-condition-model.cc:160
ns3::ChannelCondition::IsI2i
bool IsI2i() const
Return true if the channel is indoor-to-indoor.
Definition: channel-condition-model.cc:114
ns3::NeverLosChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:207
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition: ptr.h:74
ns3::ChannelCondition::operator<<
friend std::ostream & operator<<(std::ostream &os, LosConditionValue cond)
Prints a LosConditionValue to output.
Definition: channel-condition-model.cc:126
ns3::ThreeGppChannelConditionModel::Item::m_generatedTime
Time m_generatedTime
the time when the condition was generated
Definition: channel-condition-model.h:557
ns3::ThreeGppChannelConditionModel::ComputePlos
virtual double ComputePlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const =0
Compute the LOS probability.
ns3::NeverLosChannelConditionModel::GetChannelCondition
virtual Ptr< ChannelCondition > GetChannelCondition(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Computes the condition of the channel between a and b, that will be always non-LoS.
Definition: channel-condition-model.cc:224
ns3::ThreeGppChannelConditionModel::MEDIUM
@ MEDIUM
Definition: channel-condition-model.h:499
ns3::AlwaysLosChannelConditionModel::operator=
AlwaysLosChannelConditionModel & operator=(const AlwaysLosChannelConditionModel &)=delete
Copy constructor.
ns3::ThreeGppUmiStreetCanyonChannelConditionModel::~ThreeGppUmiStreetCanyonChannelConditionModel
virtual ~ThreeGppUmiStreetCanyonChannelConditionModel() override
Destructor for the ThreeGppUmiStreetCanyonChannelConditionModel class.
Definition: channel-condition-model.cc:570
ns3::ThreeGppChannelConditionModel::LOW
@ LOW
Definition: channel-condition-model.h:498
ns3::NeverLosVehicleChannelConditionModel::NeverLosVehicleChannelConditionModel
NeverLosVehicleChannelConditionModel(const NeverLosVehicleChannelConditionModel &)=delete
Copy constructor.
ns3::ThreeGppIndoorOpenOfficeChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:666
ns3::ThreeGppChannelConditionModel::Item::m_condition
Ptr< ChannelCondition > m_condition
the channel condition
Definition: channel-condition-model.h:556
ns3::ThreeGppRmaChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:442
ns3::Object
A base class which provides memory management and object aggregation.
Definition: object.h:88
ns3::ThreeGppUmaChannelConditionModel::~ThreeGppUmaChannelConditionModel
virtual ~ThreeGppUmaChannelConditionModel() override
Destructor for the ThreeGppUmaChannelConditionModel class.
Definition: channel-condition-model.cc:502
ns3::NeverLosVehicleChannelConditionModel::NeverLosVehicleChannelConditionModel
NeverLosVehicleChannelConditionModel()
Constructor.
Definition: channel-condition-model.cc:256
ns3::ChannelCondition::GetLosCondition
LosConditionValue GetLosCondition() const
Get the LosConditionValue contaning the information about the LOS/NLOS state of the channel.
Definition: channel-condition-model.cc:60
ns3::ChannelCondition::SetO2iCondition
void SetO2iCondition(O2iConditionValue o2iCondition)
Set the O2iConditionValue contaning the information about the O2I state of the channel.
Definition: channel-condition-model.cc:78
ns3::AlwaysLosChannelConditionModel::GetChannelCondition
virtual Ptr< ChannelCondition > GetChannelCondition(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Computes the condition of the channel between a and b, that will be always LoS.
Definition: channel-condition-model.cc:185
ns3::ThreeGppChannelConditionModel::AssignStreams
virtual int64_t AssignStreams(int64_t stream) override
If this model uses objects of type RandomVariableStream, set the stream numbers to the integers start...
Definition: channel-condition-model.cc:407
ns3::ThreeGppIndoorOpenOfficeChannelConditionModel::ThreeGppIndoorOpenOfficeChannelConditionModel
ThreeGppIndoorOpenOfficeChannelConditionModel()
Constructor for the ThreeGppIndoorOpenOfficeChannelConditionModel class.
Definition: channel-condition-model.cc:676
ns3::ChannelConditionModel::ChannelConditionModel
ChannelConditionModel(const ChannelConditionModel &)=delete
Copy constructor.
ns3::ThreeGppUmaChannelConditionModel::ComputePlos
virtual double ComputePlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Compute the LOS probability as specified in Table 7.4.2-1 of 3GPP TR 38.901 for the UMa scenario.
Definition: channel-condition-model.cc:506
ns3::NeverLosChannelConditionModel::operator=
NeverLosChannelConditionModel & operator=(const NeverLosChannelConditionModel &)=delete
Copy constructor.
ns3::ThreeGppChannelConditionModel::GetKey
static uint32_t GetKey(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b)
Returns a unique and reciprocal key for the channel between a and b.
Definition: channel-condition-model.cc:424
ns3::Time
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:104
ns3::ThreeGppRmaChannelConditionModel::~ThreeGppRmaChannelConditionModel
virtual ~ThreeGppRmaChannelConditionModel() override
Destructor for the ThreeGppRmaChannelConditionModel class.
Definition: channel-condition-model.cc:456
ns3::ThreeGppUmiStreetCanyonChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:556
ns3::ThreeGppIndoorMixedOfficeChannelConditionModel::~ThreeGppIndoorMixedOfficeChannelConditionModel
virtual ~ThreeGppIndoorMixedOfficeChannelConditionModel() override
Destructor for the ThreeGppIndoorMixedOfficeChannelConditionModel class.
Definition: channel-condition-model.cc:623
ns3::ThreeGppChannelConditionModel::~ThreeGppChannelConditionModel
virtual ~ThreeGppChannelConditionModel() override
Destructor for the ThreeGppRmaChannelConditionModel class.
Definition: channel-condition-model.cc:304
ns3::ThreeGppChannelConditionModel::HIGH
@ HIGH
Definition: channel-condition-model.h:500
ns3::ChannelCondition::GetO2iCondition
O2iConditionValue GetO2iCondition() const
Get the O2iConditionValue contaning the information about the O2I state of the channel.
Definition: channel-condition-model.cc:72
ns3::ChannelCondition::IsNlos
bool IsNlos() const
Return true if the channel condition is NLOS.
Definition: channel-condition-model.cc:90
ns3::ThreeGppRmaChannelConditionModel::ComputePlos
virtual double ComputePlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Compute the LOS probability as specified in Table 7.4.2-1 of 3GPP TR 38.901 for the RMa scenario.
Definition: channel-condition-model.cc:460
ns3::ThreeGppIndoorOpenOfficeChannelConditionModel
Computes the channel condition for the Indoor Open Office scenario.
Definition: channel-condition-model.h:733
ns3::ThreeGppChannelConditionModel::m_channelConditionMap
std::unordered_map< uint32_t, Item > m_channelConditionMap
map to store the channel conditions
Definition: channel-condition-model.h:560
ns3::ThreeGppChannelConditionModel::VehicleDensity
VehicleDensity
Determine the density of vehicles in a V2V scenario.
Definition: channel-condition-model.h:497
ns3::ChannelCondition::IsEqual
bool IsEqual(Ptr< const ChannelCondition > otherCondition) const
Return true if this instance is equivalent to the one passed as argument.
Definition: channel-condition-model.cc:120
ns3::ChannelCondition::NLOS
@ NLOS
Non Line of Sight.
Definition: channel-condition-model.h:51
ns3::NeverLosChannelConditionModel::~NeverLosChannelConditionModel
virtual ~NeverLosChannelConditionModel()
Destructor.
Definition: channel-condition-model.cc:220
ns3::ChannelCondition::NLOSv
@ NLOSv
Non Line of Sight due to a vehicle.
Definition: channel-condition-model.h:52
ns3::ChannelConditionModel
Models the channel condition.
Definition: channel-condition-model.h:201
ns3::ThreeGppIndoorMixedOfficeChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:609
ns3::AlwaysLosChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:168
ns3::NeverLosVehicleChannelConditionModel::GetChannelCondition
virtual Ptr< ChannelCondition > GetChannelCondition(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Computes the condition of the channel between a and b, that will be always NLOSv.
Definition: channel-condition-model.cc:263
ns3::ThreeGppChannelConditionModel::ThreeGppChannelConditionModel
ThreeGppChannelConditionModel()
Constructor for the ThreeGppRmaChannelConditionModel class.
Definition: channel-condition-model.cc:296
ns3::ThreeGppIndoorOpenOfficeChannelConditionModel::~ThreeGppIndoorOpenOfficeChannelConditionModel
virtual ~ThreeGppIndoorOpenOfficeChannelConditionModel() override
Destructor for the ThreeGppIndoorOpenOfficeChannelConditionModel class.
Definition: channel-condition-model.cc:680
ns3::ChannelCondition::O2iConditionValue
O2iConditionValue
Possible values for Outdoor to Indoor condition.
Definition: channel-condition-model.h:60
ns3::NeverLosChannelConditionModel::NeverLosChannelConditionModel
NeverLosChannelConditionModel()
Constructor.
Definition: channel-condition-model.cc:217
ns3::NeverLosVehicleChannelConditionModel::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: channel-condition-model.cc:246
ns3::NeverLosVehicleChannelConditionModel
Models a never in-LoS condition model caused by a blocking vehicle.
Definition: channel-condition-model.h:385
ns3::ThreeGppChannelConditionModel::INVALID
@ INVALID
Definition: channel-condition-model.h:501
ns3::ThreeGppIndoorMixedOfficeChannelConditionModel::ComputePlos
virtual double ComputePlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Compute the LOS probability as specified in Table 7.4.2-1 of 3GPP TR 38.901 for the Indoor Mixed Offi...
Definition: channel-condition-model.cc:627
ns3::ThreeGppUmaChannelConditionModel::ThreeGppUmaChannelConditionModel
ThreeGppUmaChannelConditionModel()
Constructor for the ThreeGppUmaChannelConditionModel class.
Definition: channel-condition-model.cc:498
ns3::AlwaysLosChannelConditionModel::AlwaysLosChannelConditionModel
AlwaysLosChannelConditionModel(const AlwaysLosChannelConditionModel &)=delete
Copy constructor.
ns3::ThreeGppUmiStreetCanyonChannelConditionModel
Computes the channel condition for the UMi-Street canyon scenario.
Definition: channel-condition-model.h:653
ns3::NeverLosChannelConditionModel
Models a never in-LoS condition model.
Definition: channel-condition-model.h:324
ns3::ChannelCondition::~ChannelCondition
virtual ~ChannelCondition()
Destructor for the ChannelCondition class.
Definition: channel-condition-model.cc:56
ns3::ThreeGppRmaChannelConditionModel::ThreeGppRmaChannelConditionModel
ThreeGppRmaChannelConditionModel()
Constructor for the ThreeGppRmaChannelConditionModel class.
Definition: channel-condition-model.cc:452
ns3::NeverLosChannelConditionModel::AssignStreams
virtual int64_t AssignStreams(int64_t stream) override
If this model uses objects of type RandomVariableStream, set the stream numbers to the integers start...
Definition: channel-condition-model.cc:236
ns3::ThreeGppChannelConditionModel::Calculate2dDistance
static double Calculate2dDistance(const Vector &a, const Vector &b)
Computes the 2D distance between two 3D vectors.
Definition: channel-condition-model.cc:414
ns3::ThreeGppChannelConditionModel::m_uniformVar
Ptr< UniformRandomVariable > m_uniformVar
uniform random variable
Definition: channel-condition-model.h:512
ns3::ThreeGppChannelConditionModel
Base class for the 3GPP channel condition models.
Definition: channel-condition-model.h:447
ns3::ThreeGppUmiStreetCanyonChannelConditionModel::ThreeGppUmiStreetCanyonChannelConditionModel
ThreeGppUmiStreetCanyonChannelConditionModel()
Constructor for the ThreeGppUmiStreetCanyonChannelConditionModel class.
Definition: channel-condition-model.cc:566
ns3::ThreeGppChannelConditionModel::Item
Struct to store the channel condition in the m_channelConditionMap.
Definition: channel-condition-model.h:555
ns3::ChannelConditionModel::AssignStreams
virtual int64_t AssignStreams(int64_t stream)=0
If this model uses objects of type RandomVariableStream, set the stream numbers to the integers start...