<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></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 can take a look at model/cs/custom-policies/probability-policy.hpp.  The implementation is currently using UniformRandomVariable as a randomization factor to accept packet into the content store.</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 5, 2016, at 4:32 AM, Nour El Houda Ben Youssef <<a href="mailto:NourElHouda.BenYoussef@wevioo.com" class="">NourElHouda.BenYoussef@wevioo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="page: WordSection1; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="WordSection1"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Dear ndnsim users<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">I would like to have further information on caching strategies implemented in ndnsim and especially about CS that probabilistically accepts data packets into CS<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">Which probabilistic distribution is used ? are we talking here about placement strategy?<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div><table border="0" cellspacing="0" cellpadding="0" style="background-color: white; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial;" class="MsoNormalTable"><tbody class=""><tr class=""><td colspan="2" style="border-style: inset inset solid; border-width: 1pt; border-bottom-color: rgb(170, 170, 170); padding: 0.75pt 6pt 0.75pt 3.75pt;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span lang="EN-US" style="font-family: Verdana, sans-serif;" class="">Content store realization that probabilistically accepts data packet into CS (placement policy)</span></b><span lang="EN-US" style="font-family: Verdana, sans-serif;" class=""><o:p class=""></o:p></span></div></td></tr><tr class=""><td style="border-style: none inset solid; border-left-width: 1pt; border-bottom-color: rgb(170, 170, 170); border-bottom-width: 1pt; border-right-width: 1pt; padding: 0.75pt 6pt 0.75pt 3.75pt;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';" class="">ns3::ndn::cs::Probability::Lru</span><span lang="EN-US" style="font-family: Verdana, sans-serif;" class=""><o:p class=""></o:p></span></div></td><td style="border-style: none inset solid none; border-bottom-color: rgb(170, 170, 170); border-bottom-width: 1pt; border-right-width: 1pt; padding: 0.75pt 6pt 0.75pt 3.75pt;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: Verdana, sans-serif;" class="">Least recently used (LRU)<o:p class=""></o:p></span></div></td></tr><tr class=""><td style="border-style: none inset solid; border-left-width: 1pt; border-bottom-color: rgb(170, 170, 170); border-bottom-width: 1pt; border-right-width: 1pt; padding: 0.75pt 6pt 0.75pt 3.75pt;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';" class="">ns3::ndn::cs::Probability::Fifo</span><span lang="EN-US" style="font-family: Verdana, sans-serif;" class=""><o:p class=""></o:p></span></div></td><td style="border-style: none inset solid none; border-bottom-color: rgb(170, 170, 170); border-bottom-width: 1pt; border-right-width: 1pt; padding: 0.75pt 6pt 0.75pt 3.75pt;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: Verdana, sans-serif;" class="">Least frequently used (LFU)<o:p class=""></o:p></span></div></td></tr><tr class=""><td style="border-style: none inset solid; border-left-width: 1pt; border-bottom-color: rgb(170, 170, 170); border-bottom-width: 1pt; border-right-width: 1pt; padding: 0.75pt 6pt 0.75pt 3.75pt;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';" class="">ns3::ndn::cs::Probability::Lfu</span><span lang="EN-US" style="font-family: Verdana, sans-serif;" class=""><o:p class=""></o:p></span></div></td><td style="border-style: none inset solid none; border-bottom-color: rgb(170, 170, 170); border-bottom-width: 1pt; border-right-width: 1pt; padding: 0.75pt 6pt 0.75pt 3.75pt;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: Verdana, sans-serif;" class="">Random<o:p class=""></o:p></span></div></td></tr></tbody></table><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">According to my understanding for the simple content store we use the LCE placement strategy and for probabilistic CS we probabilistically place the content. Am I right ?</span><span style="font-size: 11pt;" class=""> </span></div></div></div></blockquote><br class=""></div></div><div>These actually a combined placement + replacement policies.   Probabilistic placement determines whether the packet should get accepted to the content store.  The corresponding replacement policy decides what should get evicted if after packet is accepted there is not enough space and something needs to get evicted.</div><div><br class=""></div><div>---</div><div>Alex</div><div><br class=""></div></body></html>