LEFT | RIGHT |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya
(CTTC) | 3 * Copyright (c) 2011, 2012 Centre Tecnologic de Telecomunicacions de Catalunya
(CTTC) |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 * Get shadowing loss receiver | 132 * Get shadowing loss receiver |
133 * \returns The mobility model | 133 * \returns The mobility model |
134 */ | 134 */ |
135 Ptr<MobilityModel> GetReceiver (void) const; | 135 Ptr<MobilityModel> GetReceiver (void) const; |
136 protected: | 136 protected: |
137 double m_shadowingValue; ///< shadowing loss | 137 double m_shadowingValue; ///< shadowing loss |
138 Ptr<MobilityModel> m_receiver; ///< shadowing loss receiver | 138 Ptr<MobilityModel> m_receiver; ///< shadowing loss receiver |
139 }; | 139 }; |
140 | 140 |
141 mutable std::map<Ptr<MobilityModel>, std::map<Ptr<MobilityModel>, ShadowingLo
ss> > m_shadowingLossMap; ///< building shadow loss map | 141 mutable std::map<Ptr<MobilityModel>, std::map<Ptr<MobilityModel>, ShadowingLo
ss> > m_shadowingLossMap; ///< building shadow loss map |
142 /// Determine shadowing signma | 142 /** |
| 143 * Determine shadowing signma |
| 144 * \param a first building info |
| 145 * \param b second building info |
| 146 * \returns The shadowing sigma |
| 147 */ |
143 double EvaluateSigma (Ptr<MobilityBuildingInfo> a, Ptr<MobilityBuildingInfo> b
) const; | 148 double EvaluateSigma (Ptr<MobilityBuildingInfo> a, Ptr<MobilityBuildingInfo> b
) const; |
144 | 149 |
145 | 150 |
146 double m_shadowingSigmaExtWalls; ///< Shadowing signma exterior walls | 151 double m_shadowingSigmaExtWalls; ///< Shadowing signma exterior walls |
147 double m_shadowingSigmaOutdoor; ///< Shadowing sigma outdoors | 152 double m_shadowingSigmaOutdoor; ///< Shadowing sigma outdoors |
148 double m_shadowingSigmaIndoor; ///< Shadowing sigma indoors | 153 double m_shadowingSigmaIndoor; ///< Shadowing sigma indoors |
149 Ptr<NormalRandomVariable> m_randVariable; ///< Normla random variable used dur
ing evaluation | 154 Ptr<NormalRandomVariable> m_randVariable; ///< Normla random variable used dur
ing evaluation |
150 | 155 |
151 virtual int64_t DoAssignStreams (int64_t stream); | 156 virtual int64_t DoAssignStreams (int64_t stream); |
152 }; | 157 }; |
153 | 158 |
154 } | 159 } |
155 | 160 |
156 #endif /* BUILDINGS_PROPAGATION_LOSS_MODEL_H_ */ | 161 #endif /* BUILDINGS_PROPAGATION_LOSS_MODEL_H_ */ |
LEFT | RIGHT |