[ndnSIM] Get position of content in CS

陈胜蓝 blindeafer at 163.com
Sat Jan 18 19:04:16 PST 2014


Hi All,
I make a caching strategy, now I want to add a tag in data packet, the mechanism is following:
Before a node send a data packet from its CS, it will add a tag in the packet, the value of tag is computed from the position of the data in CS. For example, in Lfu policy, if there are 10 data in CS, a data with its frequency ranked third.Before the node send this packet,it will add a tag the 
value of which is 3/10.
Now I wonder how to get the position of a data in CS and how to create this tag and add the value into the tag.
Would you please give me some hint,thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140119/0938036b/attachment.html>


More information about the ndnSIM mailing list