LEFT | RIGHT |
(no file at all) | |
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 SIGNET LAB. Department of Information Engineering (DEI), U
niversity of Padua | 3 * Copyright (c) 2011 SIGNET LAB. Department of Information Engineering (DEI), U
niversity of Padua |
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 /// MI 16QAM BLER maximum ID | 64 /// MI 16QAM BLER maximum ID |
65 const uint16_t MI_16QAM_BLER_MAX_ID = 22; | 65 const uint16_t MI_16QAM_BLER_MAX_ID = 22; |
66 /// MI 64QAM BLER maximum ID | 66 /// MI 64QAM BLER maximum ID |
67 const uint16_t MI_64QAM_BLER_MAX_ID = 37; | 67 const uint16_t MI_64QAM_BLER_MAX_ID = 37; |
68 | 68 |
69 /// TbStats_t structure | 69 /// TbStats_t structure |
70 struct TbStats_t | 70 struct TbStats_t |
71 { | 71 { |
72 double tbler; ///< tbler | 72 double tbler; ///< tbler |
73 double mi; ///< mi | 73 double mi; ///< mi |
| 74 |
| 75 TbStats_t() { tbler = 0.0; mi = 0.0; } |
74 }; | 76 }; |
75 ·· | 77 ·· |
76 | 78 |
77 | 79 |
78 /** | 80 /** |
79 * This class provides the BLER estimation based on mutual information metrics | 81 * This class provides the BLER estimation based on mutual information metrics |
80 */ | 82 */ |
81 class LteMiErrorModel | 83 class LteMiErrorModel |
82 { | 84 { |
83 | 85 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 //private: | 124 //private: |
123 | 125 |
124 | 126 |
125 | 127 |
126 }; | 128 }; |
127 | 129 |
128 | 130 |
129 } // namespace ns3 | 131 } // namespace ns3 |
130 | 132 |
131 #endif /* LTE_MI_ERROR_MODEL_H */ | 133 #endif /* LTE_MI_ERROR_MODEL_H */ |
LEFT | RIGHT |