[ndnSIM] How to register my customized CS policy
Spyridon (Spyros) Mastorakis
mastorakis at cs.ucla.edu
Wed Apr 4 17:01:24 PDT 2018
Hi,
you should register your policy like that:
https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-stack-helper.cpp#L57-L59 <https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-stack-helper.cpp#L57-L59>
Thanks,
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA
> On Apr 4, 2018, at 3:26 AM, dystopia_P <409967734 at qq.com> wrote:
>
> Greetings ndnSIM friends,
> I want to know how to register my customized CS policy successfully?
> if i use StackHelper::setPolicy,It's always wrong with “ Cache replacement policy xxx not found”
> i use this code to see how many policies i can use :
> for (auto it = m_csPolicies.begin(); it != m_csPolicies.end(); it++) {
> std::cout <<"*******"<<it->first<<std::endl;
> }
> i can just get FIFO and LRU
> im so confused...
> Best regards,
> Tendo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180404/bfac10af/attachment.html>
More information about the ndnSIM
mailing list