<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">you should register your policy like that:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-stack-helper.cpp#L57-L59" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-stack-helper.cpp#L57-L59</a></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Apr 4, 2018, at 3:26 AM, dystopia_P <<a href="mailto:409967734@qq.com" class="">409967734@qq.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><pre class=""><pre class="">Greetings ndnSIM friends,</pre><pre class="">I want to know how to register my customized CS policy successfully?</pre><pre class="">if i use StackHelper::setPolicy,It's always wrong with “ Cache replacement policy xxx not found”</pre><pre class="">i use this code to see how many policies i can use :</pre><pre class="">for (auto it = m_csPolicies.begin(); it != m_csPolicies.end(); it++) {
      std::cout <<"*******"<<it->first<<std::endl;
  }</pre><pre class="">i can just get FIFO and LRU</pre><pre class="">im so confused...</pre></pre><pre class=""><i class="">Best regards,
</i><i class="">Tendo</i></pre></div></blockquote></div><br class=""></div></body></html>