OLD | NEW |
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) 2009 University of Washington | 3 * Copyright (c) 2009 University of Washington |
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 * considering phase difference) all arrivals in a given duration | 228 * considering phase difference) all arrivals in a given duration |
229 * starting the given time after the maximum amplitude arrival received | 229 * starting the given time after the maximum amplitude arrival received |
230 * | 230 * |
231 * \param delay Time duratation after max to begin summing arrivals. | 231 * \param delay Time duratation after max to begin summing arrivals. |
232 * \param duration Time duration to sum arrivals for. | 232 * \param duration Time duration to sum arrivals for. |
233 * \return Coherent sum of arrivals after max in given window. | 233 * \return Coherent sum of arrivals after max in given window. |
234 */ | 234 */ |
235 std::complex<double> SumTapsFromMaxC (Time delay, Time duration) const; | 235 std::complex<double> SumTapsFromMaxC (Time delay, Time duration) const; |
236 | 236 |
237 /** | 237 /** |
| 238 * Creates a new UanPdp normalized to its non coherent sum. |
| 239 * \see SumTapsNc |
| 240 * \returns the new PDP |
| 241 */ |
| 242 UanPdp NormalizeToSumNc (void); |
| 243 |
| 244 /** |
238 * Get a unit impulse PDP at time 0. | 245 * Get a unit impulse PDP at time 0. |
239 * | 246 * |
240 * \return The unit impulse. | 247 * \return The unit impulse. |
241 */· | 248 */· |
242 static UanPdp CreateImpulsePdp (void); | 249 static UanPdp CreateImpulsePdp (void); |
243 ·· | 250 ·· |
244 private: | 251 private: |
245 friend std::ostream &operator<< (std::ostream &os, const UanPdp &pdp); | 252 friend std::ostream &operator<< (std::ostream &os, const UanPdp &pdp); |
246 friend std::istream &operator>> (std::istream &is, UanPdp &pdp); | 253 friend std::istream &operator>> (std::istream &is, UanPdp &pdp); |
247 ·· | 254 ·· |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 /** Clear all pointer references. */ | 326 /** Clear all pointer references. */ |
320 virtual void Clear (void); | 327 virtual void Clear (void); |
321 | 328 |
322 virtual void DoDispose (void); | 329 virtual void DoDispose (void); |
323 | 330 |
324 }; // class UanPropModel | 331 }; // class UanPropModel |
325 | 332 |
326 } // namespace ns3 | 333 } // namespace ns3 |
327 | 334 |
328 #endif /* UAN_PROP_MODEL_H */ | 335 #endif /* UAN_PROP_MODEL_H */ |
OLD | NEW |