[ndnSIM] implementing new cache policy in ndnsim
z.rezaiefar at yahoo.com
Mon Nov 16 01:24:50 PST 2015
Hello everyone,I would like to say that I want to implement my algorithm with modifying ndnsim. As I know three entities ( data packet, flag for showing unsolicited data and timestamp) are stored in cs . I want to save another entity for each content which identifies the probability that each content should be saved. Moreover, according to this index ( probability ) the content will be saved or dropped and I would like that this probability will be updated after receiving any packet instead of using lru policy. is there any persons who can guide me about bellow questions :1) for adding another index I should modify onIncomingData function in forward.cpp ? 2) for decision according to the new index I just need to modify lru.policy.hpp ? ( how the packet can be ordered according this new index instead of using least recently used)any help will be appreciatedthanks in advancebest regards
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM