[ndnSIM] How to customize caching policy in ndnSIM-2.5?

Chengyu Fan chengyu.fan at colostate.edu
Sat Mar 24 16:14:57 PDT 2018


Thanks for the suggestion, Spyros.

On Sat, Mar 24, 2018 at 1:50 PM, Spyridon (Spyros) Mastorakis <
mastorakis at cs.ucla.edu> wrote:

> Hi Chengyu,
>
> I would suggest you implement a caching policy in exactly the same way
> like you would do in NFD.
>
> Then you will have to extend the helpers a bit to be able to use it. Take
> a look here:
>
> https://github.com/named-data-ndnSIM/ndnSIM/blob/master/
> helper/ndn-stack-helper.cpp#L57-L60
>
> Thanks,
>
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> Computer Science Department
> UCLA
>
> On Mar 21, 2018, at 4:39 PM, Chengyu Fan <chengyu.fan at colostate.edu>
> wrote:
>
> Hi,
>
> Could someone tell me how to customize caching policy in ndnSIM-2.5?
>
> I find some custom policy code in
> https://github.com/named-data-ndnSIM/ndnSIM/tree/master/model/cs
>
> Should I use the same way to implement my custom caching policy?
>
> BTW, our caching policy needs to access statistics of forwarding strategy,
> is there a standard way to implement it?
>
> Thanks,
> Chengyu
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180324/fa864f93/attachment.html>


More information about the ndnSIM mailing list