<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you!  I will make it perfect then ask you to check it.<div><div><br><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); 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; background-color: rgb(255, 255, 255); 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><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></font></div></div>
</div>
<br><div><div>On Dec 25, 2012, at 5:11 PM, Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Sure.  I have updated the figure.  <br><br>Btw, all documentation is stored in ndnsim repository under docs/sources in sphinx format (<a href="http://pypi.python.org/pypi/Sphinx">http://pypi.python.org/pypi/Sphinx</a>). You can also add corrections to the documentation and I can later "compile" and update docs on <a href="http://ndnsim.net">http://ndnsim.net</a> website.<br><br>---<br>Alex<br><br>On Dec 25, 2012, at 12:50 AM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:<br><br><blockquote type="cite">Thank you Alex, but would you please change it 4th figure (duration=1000) to the attached one. <br><br>As to q and s, the two parameters are very important, <a href="http://en.wikipedia.org/wiki/Zipf%E2%80%93Mandelbrot_law">http://en.wikipedia.org/wiki/Zipf%E2%80%93Mandelbrot_law</a>.  It's the parameters of Zipf-Mandelbrot PMF. So I will add setter and getter functions later.<br><br>thanks<br><N100-Frq100-Duration1000.pdf><br><br>My Regards,<br>Xiaoke Jiang (蒋小可)<br><br>Ph.D Candidate,<br>Dept. of Computer Science and Technology,<br>Tsinghua University, P. R. China<br><br>On Dec 25, 2012, at 4:33 PM, Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:<br><br><blockquote type="cite">Thanks Xiaoke,<br><br>I have incorporated your pull request with several minor changes.  Also, I've made a documentation section on ndnsim, including your simulation results that compare with theoretical zipf distribution: <a href="http://ndnsim.net/applications.html#consumerzipfmandelbrot">http://ndnsim.net/applications.html#consumerzipfmandelbrot</a>.<br><br>Sincerely,<br>Alex <br><br><br>On Dec 24, 2012, at 7:09 PM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:<br><br><blockquote type="cite">Dear All,<br><br>I have implemented an app which requests contents following Zipf-Mandelbrot distribution (number of Content frequency Distribution). This class is subclass of ConsumerCbr. <br><br>My change includes:<br>1) modify ConsumerCbr.h, make its private members to protected, which allow ConsumberZipfManbelbrot to access those members.<br>2) add an 2 file, consumber-zipf-mandelbrot.{h, cc} in ndnSIM/apps/ <br><br>Usage is very simple, just as what you do to ConsumerCbr, <br><br>ndn::AppHelper consumerHelper ("ns3::ndn::ConsumerZipfMandelbrot");<br>//ndn::AppHelper consumerHelper ("ns3::ndn::ConsumerCbr");<br>consumerHelper.SetPrefix (prefix);<br>consumerHelper.SetAttribute ("Frequency", StringValue ("100")); // 100 interests a second<br>//consumerHelper.SetAttribute ("Randomize", StringValue ("uniform")); // 100 interests a second<br><br>of course, I have written some script to test it, I put it into ndnSIM/example/ndn-zipf-mandelbrot.cc<br><br>I will share it with github with Alex's help, I hope it may help you.<br><br><br><br><br>thanks<br><br>My Regards,<br>Xiaoke Jiang <br><br>Ph.D Candidate,<br>Dept. of Computer Science and Technology,<br>Tsinghua University, P. R. China<br>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote><br></blockquote><br>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote><br></blockquote></div><br></div></div></body></html>