[ndnSIM] adding a new placement policy

Spyridon Mastorakis smastorakis at unomaha.edu
Tue Dec 10 08:47:06 PST 2019

I would suggest that you look into how the CS replacement strategies are implemented in NFD:


More or less, you need to implement some specific methods of the CS API with the logic of your replacement strategy.


Spyridon (Spyros) Mastorakis
Assistant Professor
Computer Science Department
University of Nebraska, Omaha
Peter Kiewit Institute Room 175A

> On Dec 10, 2019, at 9:13 AM, Farzane Zrk via ndnSIM <ndnsim at lists.cs.ucla.edu> wrote:
> Hello everyone
> I'm very new in ndnsim and I want to make some changes in both FIB and CS of nodes. first, I decided to make a placement strategy that each node will choose to cache or not in a way similar to flipping a coin. Then I realized that ndnsim has ns3::ndn::cs:: probability which do the exact thing that I want but when using this kind of cs I see no difference between the probability mode and the simple mode. It seems that they both are doing Leave Content Everywhere. How can I implement my own placement strategy? Is it possible to do so?
> Thanks,
> Farzane
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lists.cs.ucla.edu_mailman_listinfo_ndnsim&d=DwICAg&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=XWukG2giZgkmcyYpyk4NucUCwmWWlrQ5Rw5YOCLjwzY&s=9CSpp4OPINmyRUsvbbixBSWR7omcHvOnBhffMR7GrYI&e= 

More information about the ndnSIM mailing list