Should lteHelper and propagationLossModel be assigned independent random variable streams?

27 views
Skip to first unread message

John Young

unread,
Nov 27, 2016, 10:27:04 PM11/27/16
to ns-3-users
lte classes such as lte-spectrum-phy create rngs. PropagationLossModel does as well. Should they be assigned thir own streams? 

Tommaso Pecorella

unread,
Nov 30, 2016, 6:03:39 PM11/30/16
to ns-3-users
Hi,

there's no need (usually) to worry about that. The RNG is good enough to not introduce any correlation between the classes.

T.

John Young

unread,
Nov 30, 2016, 7:54:41 PM11/30/16
to ns-3-users
Ok, thanks

在 2016年12月1日星期四 UTC+8上午7:03:39,Tommaso Pecorella写道:

Tom Henderson

unread,
Nov 30, 2016, 11:01:17 PM11/30/16
to ns-3-...@googlegroups.com
To further clarify, each random variable is always assigned its own
independent stream. There is an additional, optional step called
SetStream () (or AssignStreams () at the helper API) that assigns a
particular stream consistently to a random variable. The ns-3 manual
explains when this step may be desired.

- Tom
> --
> Posting to this group should follow these guidelines
> https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
> ---
> You received this message because you are subscribed to the Google
> Groups "ns-3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ns-3-users+...@googlegroups.com
> <mailto:ns-3-users+...@googlegroups.com>.
> To post to this group, send email to ns-3-...@googlegroups.com
> <mailto:ns-3-...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/ns-3-users.
> For more options, visit https://groups.google.com/d/optout.

John Young

unread,
Dec 1, 2016, 3:08:45 AM12/1/16
to ns-3-users
Ok, thanks.

在 2016年12月1日星期四 UTC+8下午12:01:17,Tom Henderson写道:
Reply all
Reply to author
Forward
0 new messages