<div><div dir="auto">Hi</div></div><div dir="auto"><br></div><div dir="auto">CS contains Data, not Interest.</div><div dir="auto"><br></div><div dir="auto">To associate auxiliary information with each entry, you can make a std::map with cs::iterator as key type and your “value” as mapped type.</div><div dir="auto">Example: priority-fifo policy’s EntryInfoMapFifo struct.</div><div dir="auto"><br></div><div><div dir="auto">Yours, Junxiao</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 24, 2019 at 05:50 <<a href="mailto:mdparamartha95@students.itb.ac.id">mdparamartha95@students.itb.ac.id</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>Hello everybody, </div><div><br></div><div>Currently, I'm doing research to implement a new replacement policy in NdnSim,</div><div><br></div><div>I'm trying to modify the cs-policy-lru.cpp and .hpp as well.</div><div><br></div><div>But I little bit confused about the C language that NFD used,</div><div><br></div><div>in LRU(cs-policy-lru.cpp) the policy only move the referenced interest to the end,</div><div><br></div><div>How can I add value for each interest? Like implementing an LFU replacement policy where each interest has its own frequency.</div><div><br></div></div></div>
</blockquote></div></div>