20 #ifndef THREE_GPP_V2V_PROPAGATION_LOSS_MODEL_H 21 #define THREE_GPP_V2V_PROPAGATION_LOSS_MODEL_H 77 virtual double GetLossLos (
double distance2D,
double distance3D,
double hUt,
double hBs)
const override;
88 virtual double GetLossNlosv (
double distance2D,
double distance3D,
double hUt,
double hBs)
const override;
99 virtual double GetLossNlos (
double distance2D,
double distance3D,
double hUt,
double hBs)
const override;
166 virtual double GetLossLos (
double distance2D,
double distance3D,
double hUt,
double hBs)
const override;
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.
static TypeId GetTypeId(void)
Get the type ID.
virtual double GetLossNlosv(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 by a vehicle...
static TypeId GetTypeId(void)
Get the type ID.
Ptr< UniformRandomVariable > m_uniformVar
uniform random variable
double m_percType3Vehicles
percentage of Type 3 vehicles in the scenario (i.e., trucks)
double GetAdditionalNlosvLoss(double distance3D, double hUt, double hBs) const
Computes the additional loss due to an obstruction caused by a vehicle.
virtual double GetShadowingStd(Ptr< MobilityModel > a, Ptr< MobilityModel > b, ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading standard deviation.
Implements the pathloss model defined in 3GPP TR 37.885, Table 6.2.1-1 for the Highway scenario...
virtual double GetShadowingCorrelationDistance(ChannelCondition::LosConditionValue cond) const override
Returns the shadow fading correlation distance.
virtual ~ThreeGppV2vUrbanPropagationLossModel() override
Destructor.
ThreeGppV2vHighwayPropagationLossModel()
Constructor.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
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 by a building...
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.
ThreeGppV2vUrbanPropagationLossModel()
Constructor.
Implements the pathloss model defined in 3GPP TR 37.885, Table 6.2.1-1 for the Urban scenario...
Ptr< LogNormalRandomVariable > m_logNorVar
log normal random variable
ThreeGppV2vUrbanPropagationLossModel & operator=(const ThreeGppV2vUrbanPropagationLossModel &)=delete
Copy constructor.
Base class for the 3GPP propagation models.
LosConditionValue
Possible values for Line-of-Sight condition.
a unique identifier for an interface.
virtual ~ThreeGppV2vHighwayPropagationLossModel() override
Destructor.