<div dir="ltr"><span style="font-size:12.8px">Hi all,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I need to implement a new cache policy called pseudo lru policy.<span style="color:rgb(0,0,0);white-space:pre-wrap">I</span><span style="color:rgb(0,0,0);white-space:pre-wrap"> am currently using ndnSIM 1.0, r</span><span style="color:rgb(0,0,0);white-space:pre-wrap">eferring to the source code of LRU policy (lru-policy.h),  i</span><span style="color:rgb(0,0,0);white-space:pre-wrap">t seems to me that the "policy_container" in the code serves as a  cache storage is a list. But in pseudo lru policy the policy container must be a tree where the left child are the most recently used items and the right child is the least recently used item.</span></div><div style="font-size:12.8px">I'm new in using boost intrusive algorithms, I don't know if it is possible to use rbtree or splaytree and how can I initialize policy_hook_type,<wbr>container_hook,policy_<wbr>container and parent_trie.</div><div style="font-size:12.8px"> </div><div style="font-size:12.8px"><span style="color:rgb(0,0,0);white-space:pre-wrap">Thank you for your response in advance.</span></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(0,0,0)">Cordialement </span></div><div><span style="color:rgb(0,0,0)">Imen Dhiab</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">***************************************************************************************************</span><br></div><div><font color="#000000">Ingénieur Informatique diplômé de l'Ecole Nationale d'Ingénieurs de Sfax.</font></div><div><font color="#000000">Membre de l'unité de recherche SAGE (Systèmes Avancés en Génie Electrique), Ecole Nationale d'Ing</font><span style="color:rgb(0,0,0)">énieurs de Sousse.</span></div><div><font color="#000000">+216 53 59 19 88</font></div><div><font color="#000000">Pages personnelles : <a href="http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html" target="_blank">http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html</a></font></div><div>***************************************************************************************************</div></div></div>
</div>