<div dir="ltr">Dear All,<div><br></div><div>I want to add a new cache replacement policy to ndnSIM. Until now, I have been hard-coding existing files, such as lru-policy.h, to get a desired result. This method is obviously inefficient for real simulation.</div><div><br></div><div>I would like to have a separate new policy file and make it callable from scenario files through a configuration in ndnHealper. For example, the following line of a scenario file allows CS to run NewPolicy.</div><div><pre style="padding:5px;color:rgb(0,0,0);line-height:17.6000003814697px;border-top-width:1px;border-bottom-width:1px;border-style:solid none;border-top-color:rgb(170,204,153);border-bottom-color:rgb(170,204,153);font-size:15px;text-align:justify"><span class="">ndnHelper</span><span class="">.</span><span class="">SetOldContentStore</span><span class="">(</span><span class="" style="color:rgb(64,112,160)">"ns3::ndn::cs::NewPolicy"</span><span class="">,</span> <span class="" style="color:rgb(64,112,160)">"MaxSize"</span><span class="">,</span> <span class="" style="color:rgb(64,112,160)">"10000"</span><span class="">);</span></pre></div><div><br></div><div>Which files do I should modify to get this ability?</div><div><br></div><div>Your answers will be highly appreciated. </div><div>Thank you. </div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Yours sincerely,<div>Saran</div></div></div>
</div></div>