<div dir="ltr">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. </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 10:42 PM, Xiaoke Jiang <span dir="ltr"><<a href="mailto:shock.jiang@gmail.com" target="_blank">shock.jiang@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I think you have to set different seed for in order to generate different traffic pattern.<div>
<br></div><div>set seed: <a href="http://www.nsnam.org/docs/manual/html/random-variables.html" target="_blank">http://www.nsnam.org/docs/manual/html/random-variables.html</a></div><div>have a try!</div><div><br><div>
<div><div style="color:rgb(34,34,34);font-size:small;font-family:arial"><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div>
<hr align="left" color="#b5c4df" size="1" style="color:rgb(34,34,34);font-size:small;font-family:arial;width:210px;min-height:1px"><div style="color:rgb(34,34,34);font-size:small;font-family:arial"><font face="garamond, serif"><div>
<span style="font-size:10.5pt">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size:10.5pt"><br></span></div><div class="im"><div><span style="font-size:10.5pt"><font color="#666666">Ph.D Candidate,</font></span></div>
<div><span style="font-size:10.5pt"><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size:10.5pt"><font color="#666666">Tsinghua University, P. R. China</font></span></div>
</div></font></div></div>
</div><div><div class="h5">
<br><div><div>On Apr 23, 2013, at 10:40 PM, Xiao yan Hu <<a href="mailto:xhbreezehu@gmail.com" target="_blank">xhbreezehu@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">Hi Xiaoke and Alex,<div>
<br></div><div>I used <span style="font-family:arial,sans-serif;font-size:19px">ndn-</span><span style="font-family:arial,sans-serif;font-size:19px">zipf</span><span style="font-family:arial,sans-serif;font-size:19px">-</span><span style="font-family:arial,sans-serif;font-size:19px">mandelbrot</span><span style="font-family:arial,sans-serif;font-size:19px">.cc as the consumer in my simulations.</span></div>

<div><span style="font-family:arial,sans-serif;font-size:19px">It is cool and thank you guys.</span></div><div><span style="font-family:arial,sans-serif;font-size:19px">But I found that the app generates exactly the same Interest traffic for different runs of the simulations.  </span></div>

<div><span style="font-family:arial,sans-serif;font-size:19px">Would you please tell me if there is a way that some randomness can be  added in each run of the generated Interest traffic?</span></div><div><span style="font-family:arial,sans-serif;font-size:19px"><br>

</span></div><div><span style="font-family:arial,sans-serif;font-size:19px">Thanks,</span></div><div><span style="font-family:arial,sans-serif;font-size:19px">Xiaoyan</span></div><div class="gmail_extra"><br><br>
<div class="gmail_quote"><br></div></div></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>