[ndnSIM] Zipf-Mandelbrot Patch for ndnSIM
Xiao yan Hu
xhbreezehu at gmail.com
Tue Apr 23 08:15:27 PDT 2013
Thank you. And I just found that if I call srand() in the main, some
randomness generates as well. But your reference should be better.
On Tue, Apr 23, 2013 at 10:42 PM, Xiaoke Jiang <shock.jiang at gmail.com>wrote:
> I think you have to set different seed for in order to generate different
> traffic pattern.
> set seed: http://www.nsnam.org/docs/manual/html/random-variables.html
> have a try!
> My Regards,
> Xiaoke Jiang （蒋小可）
> Ph.D Candidate,
> Dept. of Computer Science and Technology,
> Tsinghua University, P. R. China
> On Apr 23, 2013, at 10:40 PM, Xiao yan Hu <xhbreezehu at gmail.com> wrote:
> Hi Xiaoke and Alex,
> I used ndn-zipf-mandelbrot.cc as the consumer in my simulations.
> It is cool and thank you guys.
> But I found that the app generates exactly the same Interest traffic for
> different runs of the simulations.
> Would you please tell me if there is a way that some randomness can be
> added in each run of the generated Interest traffic?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM