-----Mensaje original-----
From: steve curren
Sent: Thursday, February 10, 2011 6:03 AM
To: omnetpp
Subject: [Omnetpp-l] rng question
Hello folks,
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to
omnetpp+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/omnetpp?hl=en.
the rng is a number that identify the random generator. You can have several independent random generators, for example you need a source that could generate the same random sequence with independent of the mac layer that you use (for example you are using sometimes PPP and sometimes ethernet). You can use a different (and independent) random generator that the other code uses
See the manual section 6.4
the last number identify the random generator
-----Mensaje original----- From: steve curren
Sent: Thursday, February 10, 2011 6:03 AM
To: omnetpp
Subject: [Omnetpp-l] rng question
Hello folks,
I am using uniform(a,b,int rng=0) function, I tried uniform(0,1,4) and
uniform (0,1,10). I know they generate value between 0 and 1, but
could someone explains the difference between 4 and 10?
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to mailto:omnetpp%2Bunsu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to mailto:omnetpp%2Bunsu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.