[ns] RNG in ns

2007-03-31 Thread suhaib obeidat
Hi All, I am using ns-2.1b7. I need to define few exponential random variables in my C++ code. However, I do not know how to advance the rng to the correct sub-stream for different runs/replicates. I know in recent ns versions, we can use the function reset_next_substream but this function

Re: [ns] RNG in ns

2007-03-31 Thread Michele Weigle
Date: Sat, 31 Mar 2007 13:36:41 -0700 From: suhaib obeidat [EMAIL PROTECTED] Subject: [ns] RNG in ns To: ns-users@ISI.EDU Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi All, I am using ns-2.1b7. I need to define few exponential