A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
probabilistic-v2v-channel-condition-model.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 SIGNET Lab, Department of Information Engineering,
3 * University of Padova
4 *
5 * SPDX-License-Identifier: GPL-2.0-only
6 */
7
8#ifndef PROBABILISTIC_V2V_CHANNEL_CONDITION_MODEL_H
9#define PROBABILISTIC_V2V_CHANNEL_CONDITION_MODEL_H
10
12
13namespace ns3
14{
15
16class MobilityModel;
17
18/**
19 * \ingroup propagation
20 *
21 * \brief Computes the channel condition for the V2V Urban scenario
22 *
23 * Computes the channel condition following the probabilistic model described in
24 * M. Boban, X.Gong, and W. Xu, “Modeling the evolution of line-of-sight
25 * blockage for V2V channels,” in IEEE 84th Vehicular Technology
26 * Conference (VTC-Fall), 2016.
27 */
29{
30 public:
31 /**
32 * Get the type ID.
33 * \brief Get the type ID.
34 * \return the object TypeId
35 */
36 static TypeId GetTypeId();
37
38 /**
39 * Constructor for the ProbabilisticV2vUrbanChannelConditionModel class
40 */
42
43 /**
44 * Destructor for the ProbabilisticV2vUrbanChannelConditionModel class
45 */
47
48 private:
49 /**
50 * Compute the LOS probability
51 *
52 * \param a tx mobility model
53 * \param b rx mobility model
54 * \return the LOS probability
55 */
57
58 /**
59 * Compute the NLOS probability
60 *
61 * \param a tx mobility model
62 * \param b rx mobility model
63 * \return the NLOS probability
64 */
66
68};
69
70/**
71 * \ingroup propagation
72 *
73 * \brief Computes the channel condition for the V2V Highway scenario
74 *
75 * Computes the channel condition following the probabilistic model described in
76 * M. Boban, X.Gong, and W. Xu, “Modeling the evolution of line-of-sight
77 * blockage for V2V channels,” in IEEE 84th Vehicular Technology
78 * Conference (VTC-Fall), 2016.
79 */
81{
82 public:
83 /**
84 * Get the type ID.
85 * \brief Get the type ID.
86 * \return the object TypeId
87 */
88 static TypeId GetTypeId();
89
90 /**
91 * Constructor for the ProbabilisticV2vHighwayChannelConditionModel class
92 */
94
95 /**
96 * Destructor for the ProbabilisticV2vHighwayChannelConditionModel class
97 */
99
100 private:
101 /**
102 * Compute the LOS probability
103 *
104 * \param a tx mobility model
105 * \param b rx mobility model
106 * \return the LOS probability
107 */
109
110 /**
111 * Compute the NLOS probability
112 *
113 * \param a tx mobility model
114 * \param b rx mobility model
115 * \return the NLOS probability
116 */
118
120};
121
122} // namespace ns3
123
124#endif /* PROBABILISTIC_V2V_CHANNEL_CONDITION_MODEL_H */
Computes the channel condition for the V2V Highway scenario.
double ComputePnlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Compute the NLOS probability.
~ProbabilisticV2vHighwayChannelConditionModel() override
Destructor for the ProbabilisticV2vHighwayChannelConditionModel class.
ProbabilisticV2vHighwayChannelConditionModel()
Constructor for the ProbabilisticV2vHighwayChannelConditionModel class.
double ComputePlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Compute the LOS probability.
Computes the channel condition for the V2V Urban scenario.
double ComputePnlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Compute the NLOS probability.
~ProbabilisticV2vUrbanChannelConditionModel() override
Destructor for the ProbabilisticV2vUrbanChannelConditionModel class.
ProbabilisticV2vUrbanChannelConditionModel()
Constructor for the ProbabilisticV2vUrbanChannelConditionModel class.
double ComputePlos(Ptr< const MobilityModel > a, Ptr< const MobilityModel > b) const override
Compute the LOS probability.
Smart pointer class similar to boost::intrusive_ptr.
Base class for the 3GPP channel condition models.
VehicleDensity
Determine the density of vehicles in a V2V scenario.
a unique identifier for an interface.
Definition type-id.h:48
Every class exported by the ns3 library is enclosed in the ns3 namespace.