[ndnSIM] Forwarding Strategy

Alex Afanasyev alexander.afanasyev at ucla.edu
Mon Dec 9 12:25:48 PST 2013

Hi Narjes,

1) Yes, you can use different strategies on different nodes.  You just need to do a little bit more work to set up you simulation scenario.  Something like this

ndn::StackHelper ndnHelper;



2) What exactly do you mean by "distinguishing"?  What do you want to achieve?
At the strategy layer you're dealing with Interests and Data, which have names.  Name (or prefix) is basically the only thing you have.  Consumers by definition are sending Interests and producers are generating and publishing data.


On Dec 9, 2013, at 12:10 PM, narjes aloulou <aloulounarjes at yahoo.fr> wrote:

> Hi ndn-sim users,
> I have two questions:
> 1) I want to know if I can use different ForwardingStrategy in the same network?
> 2) How can I distinguish between node and consumer and provider in the strategy Layer?
> Thanks,
> Best Reagards
> _______________________________________________
> 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