equal
deleted
inserted
replaced
31 |
31 |
32 namespace ns3 { |
32 namespace ns3 { |
33 |
33 |
34 |
34 |
35 |
35 |
36 class JakesPropagationLossModel::PathCoefficients { |
36 class JakesPropagationLossModel::PathCoefficients |
|
37 { |
37 public: |
38 public: |
38 PathCoefficients (Ptr<const JakesPropagationLossModel> jakes, |
39 PathCoefficients (Ptr<const JakesPropagationLossModel> jakes, |
39 Ptr<MobilityModel> receiver, |
40 Ptr<MobilityModel> receiver, |
40 uint8_t nRays, |
41 uint8_t nRays, |
41 uint8_t nOscillators); |
42 uint8_t nOscillators); |
196 { |
197 { |
197 m_nOscillators = nOscillators; |
198 m_nOscillators = nOscillators; |
198 } |
199 } |
199 |
200 |
200 double |
201 double |
201 JakesPropagationLossModel::GetLoss (Ptr<MobilityModel> a, |
202 JakesPropagationLossModel::DoGetLoss (Ptr<MobilityModel> a, |
202 Ptr<MobilityModel> b) const |
203 Ptr<MobilityModel> b) const |
203 { |
204 { |
204 PathsList::iterator i = m_paths.end (); |
205 PathsList::iterator i = m_paths.end (); |
205 while (i != m_paths.begin ()) { |
206 while (i != m_paths.begin ()) { |
206 i--; |
207 i--; |