[ndnSIM] Metric and Strategy

narjes aloulou aloulounarjes at yahoo.fr
Tue May 13 01:40:57 PDT 2014

Hello ndnSim users,

I want to send the metric value of the link between two nodes in the method DoPropagateInterest in the strategy layer:
   m1        m2
When i send the interest between R2 and R3 , R2 will send m1 in the interest, then  R3 will send the interest with m1+m2

I found the inFace.GetMetric(), but as I unsderstood it gives the metric of the prefix towards the producer.

How can I get the link metric value  (as given in topology file) in the strategy layer?

Thanks a lot for your Help

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

More information about the ndnSIM mailing list