[Ns-developers] PropagationLossModel behaviour

Hagen Paul Pfeifer hagen at jauu.net
Mon Jun 2 15:52:53 PDT 2008


One short description with subsequently question:

During the Channel inspection I stumbled across the PropagationLossModel and
one characteristic make me wondering. Beside Friis and other static models,
let us consider e.g. RandomPropagationLossModel. This model will return via
GetLoss() _every_ time we call it another value (because the value is related
to the random pool). Some months ago I studied some model - so no doubt about
the algorithm behind that. My question tend to another behaviour:

If we want to visualize or do some other analysis and get this value at time
n. The result will differ from n because we call the method a second time.
So there is a mismatch between (albeit the delta is small) the value that the
channel used and the public[tm] one. IMHO the PropagationLossModel should be
correlated to the current state (e.g. time). Or did I missed something (I mean
it is a lot of code and interaction between several subparts of ns-3)? ;)


Best regards, Hagen


-- 
Hagen Paul Pfeifer <hagen at jauu.net>  ||  http://jauu.net/
Key Id: 0x98350C22
Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22
Always in motion, the future is. 


More information about the Ns-developers mailing list