<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Times New Roman",serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US><div class=WordSection1><p class=MsoNormal>Hi Zeinab</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>NFD/daemon/table is the new ContentStore policy API for NFD. lru-policy.hpp is inherited from ndnSIM 1.0 and is deprecated.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I don’t understand your question about dropping Data.</p><p class=MsoNormal>If the ContentStore has a matching Data for an incoming Interest, it’s always returned to the downstream. This is a protocol requirement, and the policy has no control over this process.</p><p class=MsoNormal>The policy can control whether to admit a Data into the cache, and which cached Data to evict in case the cache is full.</p><p><o:p> </o:p></p><p>Yours, Junxiao</p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;border:none;padding:0in'><br><b>From: </b>Zeinab Rezaiefar<br><b>Sent: </b>Tuesday, November 17, 2015 19:31<br><b>To: </b>shijunxiao@email.arizona.EDU;ndnsim@lists.cs.ucla.edu<br><b>Subject: </b>Re: [ndnSIM] implementing new cache policy in ndnsim</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>  Hi Junxiao,</span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'><o:p></o:p></span></p><div id="yui_3_16_0_1_1447718932018_25241"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>firstly I would like to say thanks for your helping. Then, I would like to say that something is not clear for me. there are 2 folders : (NFD/daemon/table and  util/trie)   that contain for example cs-policy-lru.cpp and lru-policy.hpp related to lru policy. I should copy these files and change them according my policy or just changing file in NFD path ? moreover, why in NFD/deamon/table path there are only files for lru and fifo policies not other policies.<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1447718932018_25536"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>furthermore, if I do not change forward.cpp still before forwarding the Data message can be dropped according the policy in  Policy::doAfterInsert function?<o:p></o:p></span></p></div><div id="yui_3_16_0_1_1447718932018_25548"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>thanks <o:p></o:p></span></p></div><div id="yui_3_16_0_1_1447718932018_25549"><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>best regards<o:p></o:p></span></p></div><p class=MsoNormal style='background:white'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>Zeinab<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>