<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><!-- flashmail style begin -->
<STYLE type=text/css>
body {border-width:0;margin:0}
img {border:0;margin:0;padding:0}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 8.00.7601.17514"></HEAD>
<BODY
style="LINE-HEIGHT: 1.5; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; FONT-FAMILY: 微软雅黑; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #000000; FONT-SIZE: 10.5pt; BORDER-LEFT-WIDTH: 0px"
marginheight="0" marginwidth="0">
<DIV>
<DIV>Hi</DIV>
<DIV> Spyros and John,Thank you for your sharing and
suggestion .It is quite helpful for me,as I have spent much time to
study ns3::ndn::ContentStore .</DIV>
<DIV> If I want to refresh all the CS table every 1 second, Can you
give me some advice ? It seems that the NDNSim api document has no related
content. Should I study the NS-3 source code.Thank you very much!</DIV>
<DIV> Merry Christmas</DIV>
<DIV> </DIV></DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: Verdana; COLOR: #c0c0c0; FONT-SIZE: 10pt"
align=left>2016-12-25
<HR
style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; WIDTH: 122px; HEIGHT: 1px; BORDER-TOP: #c0c0c0 1px solid; BORDER-RIGHT: 0px"
id=SignNameHR align=left>
<SPAN id=_FlashSignName>gc199211</SPAN> </DIV>
<HR
style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; HEIGHT: 1px; BORDER-TOP: #c0c0c0 1px solid; BORDER-RIGHT: 0px">
<BLOCKQUOTE
style="PADDING-LEFT: 0px; FONT-FAMILY: Verdana; MARGIN-LEFT: 0px; FONT-SIZE: 10pt"
id=ntes-flashmail-quote>
<DIV><STRONG>发件人:</STRONG>John Baugh <jpbaugh@umich.edu></DIV>
<DIV><STRONG>发送时间:</STRONG>2016-12-23 15:23</DIV>
<DIV><STRONG>主题:</STRONG>Re: [ndnSIM] ndn cache replace policy</DIV>
<DIV><STRONG>收件人:</STRONG>"Spyridon (Spyros)
Mastorakis"<mastorakis@cs.ucla.edu></DIV>
<DIV><STRONG>抄送:</STRONG>"gc199211"<gc199211@mail.ustc.edu.cn>,"ndnsim"<ndnsim@lists.cs.ucla.edu></DIV>
<DIV> </DIV>
<DIV>
<DIV dir=ltr>Greetings,
<DIV><BR></DIV>
<DIV>By no means do I claim to be an expert in this simulator (yet!), but I
have been taking and trying to organize notes about using it.</DIV>
<DIV><BR></DIV>
<DIV>Please see page 9 in the attached PDF. I hope to eventually more
fully organize this document after adding a significant amount more, adding a
table of contents, etc.</DIV>
<DIV><BR></DIV>
<DIV>But hopefully this helps some people even in its current, very unedited
and minimal state.</DIV>
<DIV><BR></DIV>
<DIV>Thanks,</DIV>
<DIV><BR></DIV>
<DIV>John</DIV></DIV>
<DIV class=gmail_extra><BR>
<DIV class=gmail_quote>On Fri, Dec 23, 2016 at 2:02 AM, Spyridon (Spyros)
Mastorakis <SPAN dir=ltr><<A href="mailto:mastorakis@cs.ucla.edu"
target=_blank>mastorakis@cs.ucla.edu</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV style="WORD-WRAP: break-word">Hi,
<DIV><BR></DIV>
<DIV>personally, I feel it would be easier for you to use the CS of
NFD. </DIV>
<DIV><BR></DIV>
<DIV>You will have to create your own class that will derive from the Policy
class of NFD.</DIV>
<DIV><BR></DIV>
<DIV>Hope that this helps.</DIV>
<DIV><SPAN class=HOEnZb><FONT color=#888888><BR>
<DIV>
<DIV>
<DIV>
<DIV><SPAN style="DISPLAY: inline !important; FLOAT: none">Spyridon (Spyros)
Mastorakis</SPAN><BR><SPAN
style="DISPLAY: inline !important; FLOAT: none">Personal
Website: </SPAN><A href="http://cs.ucla.edu/~mastorakis/"
target=_blank>http://cs.ucla.edu/~<WBR>mastorakis/</A><BR><SPAN
style="DISPLAY: inline !important; FLOAT: none">Internet Research
Laboratory</SPAN><BR><SPAN
style="DISPLAY: inline !important; FLOAT: none">Computer Science
Department</SPAN><BR><SPAN
style="DISPLAY: inline !important; FLOAT: none">UCLA</SPAN></DIV>
<DIV><BR></DIV></DIV></DIV></DIV></FONT></SPAN>
<DIV>
<DIV class=h5><BR>
<DIV>
<BLOCKQUOTE type="cite">
<DIV>On Dec 22, 2016, at 5:20 PM, gc199211 <<A
href="mailto:gc199211@mail.ustc.edu.cn"
target=_blank>gc199211@mail.ustc.edu.cn</A>> wrote:</DIV><BR
class=m_5749736936594318342Apple-interchange-newline>
<DIV><U></U>
<DIV> </DIV>
<DIV>
<DIV>Hello :<BR> I am trying to realize a cache replacement policy
on ndnSIM .The new policy is based on lfu policy. According
to the api document I found that</DIV>
<DIV> 1) The ns3::ndn::ContentStore has realized lfu policy
, but the code is quite complex,including
trie.hpp、tire-with-policy.hpp、<WBR>lfu-policy.hpp and so on</DIV>
<DIV>2) The nfd::cs::Cs hasn't realized lfu policy,but the
code seems easier.</DIV>
<DIV>So which kind of contentstore is easier to realize my
policy, ns3::ndn::ContentStore or nfd::cs::Cs ?And how
to realize a cache replacement policy,Think you very
much!</DIV>
<DIV> <WBR> </DIV></DIV>
<DIV
style="FONT-FAMILY: Verdana; COLOR: rgb(192,192,192); FONT-SIZE: 10pt">
<DIV align=left>2016-12-22</DIV>
<HR
style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 122px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 1px; BORDER-TOP: rgb(192,192,192) 1px solid; BORDER-LEFT-WIDTH: 0px"
id=m_5749736936594318342SignNameHR align=left>
<SPAN
id=m_5749736936594318342_FlashSignName>gc199211</SPAN></DIV><U></U></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV><BR>______________________________<WBR>_________________<BR>ndnSIM
mailing list<BR><A
href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</A><BR><A
href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel=noreferrer
target=_blank>http://www.lists.cs.ucla.edu/<WBR>mailman/listinfo/ndnsim</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></BODY></HTML>