11#ifndef HYBRID_BUILDINGS_PROPAGATION_LOSS_MODEL_H_
12#define HYBRID_BUILDINGS_PROPAGATION_LOSS_MODEL_H_
16#include "ns3/propagation-environment.h"
21class OkumuraHataPropagationLossModel;
22class ItuR1411LosPropagationLossModel;
23class ItuR1411NlosOverRooftopPropagationLossModel;
24class ItuR1238PropagationLossModel;
25class Kun2600MhzPropagationLossModel;
This model provides means for simulating the following propagation phenomena in the presence of build...
The HybridBuildingsPropagationModel is a compound of different models able to evaluate the pathloss f...
void SetCitySize(CitySize size)
set the size of the city
double OkumuraHata(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
Compute the path loss using either OkumuraHataPropagationLossModel or Kun2600MhzPropagationLossModel.
double m_rooftopHeight
Roof Height (in meters)
static TypeId GetTypeId()
Get the type ID.
Ptr< ItuR1411NlosOverRooftopPropagationLossModel > m_ituR1411NlosOverRooftop
ItuR1411NlosOverRooftopPropagationLossModel.
void SetFrequency(double freq)
set the propagation frequency
void SetRooftopHeight(double rooftopHeight)
set the rooftop height
Ptr< ItuR1411LosPropagationLossModel > m_ituR1411Los
ItuR1411LosPropagationLossModel.
double m_frequency
Operation frequency.
HybridBuildingsPropagationLossModel()
double m_itu1411NlosThreshold
in meters (switch Los -> NLoS)
double ItuR1411(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
Compute the path loss using either ItuR1411LosPropagationLossModel or ItuR1411NlosOverRooftopPropagat...
~HybridBuildingsPropagationLossModel() override
Ptr< Kun2600MhzPropagationLossModel > m_kun2600Mhz
Kun2600MhzPropagationLossModel.
double ItuR1238(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
Compute the path loss using ItuR1238PropagationLossModel.
Ptr< OkumuraHataPropagationLossModel > m_okumuraHata
OkumuraHataPropagationLossModel.
void SetEnvironment(EnvironmentType env)
set the environment type
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const override
Compute the path loss according to the nodes position using the appropriate model.
Ptr< ItuR1238PropagationLossModel > m_ituR1238
ItuR1238PropagationLossModel.
Smart pointer class similar to boost::intrusive_ptr.
a unique identifier for an interface.
EnvironmentType
The type of propagation environment.
CitySize
The size of the city in which propagation takes place.
Ptr< T > Create(Ts &&... args)
Create class instances by constructors with varying numbers of arguments and return them by Ptr.
Every class exported by the ns3 library is enclosed in the ns3 namespace.