<div dir="ltr">George,<div><br></div><div>I made a custom caching strategy (even got some publications out of it, woohoo!) - and I had at one point considered trying something using Bloom filters also.<br><br>You will of course need to create a <b>subclass </b>of <b>Policy </b>since that what makes the decision to keep something in the cache or not (<a href="https://ndnsim.net/2.4/doxygen/classnfd_1_1cs_1_1Policy.html">https://ndnsim.net/2.4/doxygen/classnfd_1_1cs_1_1Policy.html</a>).  Specifically, the <b>afterInsert </b>method must decide whether to remove or leave the item just added to the cache.</div><div><br></div><div>If you need statistics about incoming interests, you'll have to <b>modify the nfd Forwarder </b>class (<a href="https://ndnsim.net/2.0/doxygen/classnfd_1_1Forwarder.html">https://ndnsim.net/2.0/doxygen/classnfd_1_1Forwarder.html</a>).  Unfortunately there isn't (to the best of my knowledge) a way to subclass the forwarder, so you have to actually dig into the ndnSIM code, modify it, recompile ndnSIM, and then compile/build your scenario (including Policy subclass, etc.)</div><div><br></div><div>Hope this is a good start?</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div><div><br></div><div><b>John P. Baugh, Ph.D.</b></div><div><b>University of Michigan - Dearborn</b></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 23, 2018 at 2:06 AM george assaf <<a href="mailto:engdotgeorge@gmail.com">engdotgeorge@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Forks,<div>I want to study a caching strategy that makes use of Bloom filter concept <a href="https://en.wikipedia.org/wiki/Bloom_filter" target="_blank">https://en.wikipedia.org/wiki/Bloom_filter</a></div><div>to track the state of neighbor caches of the current ndn Router in order to enhance cache hit ratio in case of video streaming.</div><div>is there any basic ndn implementation for this idea , if not how can you recommend me to start implement this idea?</div><div>thank you in advance</div><div>george </div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>