[ndnSIM] personalization of consumer

zhangran at bupt.edu.cn zhangran at bupt.edu.cn
Sun May 29 19:38:44 PDT 2016

Hi Sabet,
Thank you for your advice! I'll check the code and website later and try to figure out the problem!

zhangran at bupt.edu.cn
From: Muhammad Hosain Abdollahi Sabet
Date: 2016-05-29 23:53
To: zhangran
CC: ndnsim
Subject: Re: [ndnSIM] personalization of consumer
You need to extend current applications. Take a look at
For applications. There is an example of developing custom application. To me, what you are looking for is pretty easy to achieve. You can have a counter in OnData, to limit producing/transmitting of data packets.
For the second problem, again I refer you to the website. The is a pre-defined application for that.
For the 4th one, you should go to ndn-cxx/apps
On 29 May 2016 19:42, "zhangran at bupt.edu.cn" <zhangran at bupt.edu.cn> wrote:
Hi, all

I am writing my simulaiton scenario. I want the consumer to visit an limited number of contents in different producer. However, as far as I have found, there seems to be no mechanism to support this scenario in ndnsim. Specifically, the problems are as below.

Can I assign a limited number of contents with the same prefix to every producer node
Can I make the consumers to consume the content at the pattern of Zipf Distribution in terms of content popularity. 
Can I set the popularity of a single content name or a prefix?
Where is the code to define the behavior of consumer and producer, I can't find them.
Thank you very much for your time!

zhangran at bupt.edu.cn

ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160530/841c3274/attachment.html>

More information about the ndnSIM mailing list