<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">It calculates based on the Face "metric", which by default set to 1 for each Face (= incidentally, resulting in hop count).  If you update Face metric with latency related metric represented as an integert (unfortunately, we don't have anything that is already available; patches welcome), you will get latency-based calculation of routes.<div class=""><br class=""></div><div class="">--</div><div class="">Alex<br class=""><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 5, 2018, at 4:47 PM, chavoosh ghasemi <<a href="mailto:chavoosh.ghasemi.off@gmail.com" class="">chavoosh.ghasemi.off@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi,</div><div class=""><br class=""></div>Apparently, <font face="monospace, monospace" class="">ndnGlobalRoutingHelper::CalculateRoutes()</font> uses <b class="">hop count</b> as a metric to compute the shortest paths (correct me if I am wrong).<div class="">If that's the case, do we have any module (e.g. a helper) in ndnSIM that calculates shortest paths based on link latency?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><i class="">- Chavoosh</i><br class=""></div><div class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><span class=""><font color="#888888" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" style="color:rgb(34,34,34)" class=""><font color="#888888" class=""><span style="color:rgb(0,0,153);font-family:georgia,serif" class=""><i style="" class=""><b class="">Chavoosh Ghasemi</b></i><br class=""><span style="color:rgb(153,153,0)" class=""><br class=""><span style="color:rgb(153,0,0)" class="">Ph.D. Student in Computer Networking</span></span></span></font><span style="color:rgb(153,0,0)" class=""><span style="font-family:georgia,serif" class=""> </span><span style="font-family:georgia,serif" class=""><br class="">University of Arizona - Computer Science Department</span><font size="1" class=""><b class=""><i class=""><br class=""></i></b></font></span></div><div style="color:rgb(34,34,34)" class=""><span style="color:rgb(204,0,0)" class=""><font size="1" class=""><b class=""><i class="">Address: Gould-Simpson 721B, </i></b></font><font size="1" class=""><b class=""><i class="">1040 E. 4th Street,<br class=""></i></b></font></span></div><div dir="ltr" style="color:rgb(34,34,34)" class=""><span style="color:rgb(153,0,0)" class=""><font size="1" class=""><b class=""><i class=""><span style="color:rgb(204,0,0)" class="">                 Tucson, AZ 85721</span><br class=""><br class="">"The <i class="">quieter</i> you become, the <i class="">more you can hear"</i></i></b></font></span></div></div></div></div></div> </font></span>
</div></div></div></div></div></div>
_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class=""></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">______________<br class="">Alex Afanasyev<br class="">Assistant Professor, SCIS, Florida International University<br class="">11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199<br class="">phone: +1.305.348.4960 (office); <a href="mailto:aa@cs.fiu.edu" class="">email: aa@cs.fiu.edu</a><br class="">web: <a href="https://users.cs.fiu.edu/~afanasyev/" class="">https://users.cs.fiu.edu/~afanasyev/</a><br class=""><br class=""></div></div></div></div>
</div>
<br class=""></div></div></div></body></html>