[ndnSIM] how to set ns3_rand_ to policy probability from a fw

Pierre Paul EMINE II emine2pierrepaul at gmail.com
Sun Jul 4 21:23:34 PDT 2021


hi everyone, i would like to change the value of ns_rand (probality of
item) in probability policy from a transfer function.
in the transfer function I try to call a probability policy function with:
template <class Base, class Container, class Hook> ns3 :: ndn :: ndnSIM ::
probability_policy_traits :: policy :: type :: set_rand (prob ); but I get
the error: a template declaration cannot appear at block scope
need help please on my error first and if anyone knows a method to set
ns3_rand_ for each data received
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210705/6218f59d/attachment.html>


More information about the ndnSIM mailing list