[ndnSIM] implementing the Probability caching policy
Alex Afanasyev
aa at cs.fiu.edu
Sat Mar 9 08:04:08 PST 2019
Hi Samar,
You could check this in http://ndnsim.net/current/doxygen/classns3_1_1ndn_1_1cs_1_1Probability_1_1Lru.html (https://ndnsim.net/current/doxygen/AttributeList.html)
There is CacheProbability attribute that you can add to your SetOldContentStore parameters:
ndnHelper.SetOldContentStore("ns3::ndn::cs::Probability::Lru", "MaxSize", "10000", "CacheProbability", "0.5");
--
Alex
> On Mar 9, 2019, at 6:52 AM, Samar Alduayji via ndnSIM <ndnsim at lists.cs.ucla.edu> wrote:
>
> Dear Developers,
>
> I'm trying to test the existed old content store policies ( freshness, Probability )
> my question is: where I should add the required probability value?
>
> is it while I'm calling the following method
> ndnHelper.SetOldContentStore("ns3::ndn::cs::Probability::Lru", "MaxSize", "10000")? If so, how to write it?
> If not, is there a way to set the probability value?
>
> Regards,
> Samar
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
More information about the ndnSIM
mailing list