<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Xiaoke,<div><br></div><div>The first task would be to get this information into the FIB entry.  There is, actually, already an RTT estimate that is maintained for each face in each FIB entry, which would the first step in what you want to achieve.</div><div><br></div><div>To actually take into account this (an potentially other) information, you would need to modify implementation of FindBestCandidate of ndn::fib::Entry class.  Ideally, this implementation should allow customization of different logics in simulation scenarios, but for now you can just simply modify the code.</div><div><br></div><div>The current implementation relies on boost::multi_index-based data structure, that automatically "indices" entries based on composite index of face status (green/yellow/red) and routing cost.  If you want, you can add third index (e.g., in between status and cost) that uses RTT as input.  This way, just modification of the data structure can give you necessary effect.</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Jun 12, 2013, at 8:24 PM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
                <div style="font-family: Helvetica; font-size: 13px; ">Hi Alex,<div>    Sorry for my mistake. What you said is right, I want to select best next face according to RTT and other factors, such as hop distance(default?), end2end bandwidth. I am not sure the current stat-of-art of ndnSIM. </div><div><br></div></div>
                <div><div><br></div><div style="font-family: Futura; font-size: 13px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke (Shock) Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China, 100084</font></span></div></font></div></div></div><p style="color: #A0A0A8;">On Thursday, June 13, 2013 at 11:18 AM, Alex Afanasyev wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><meta http-equiv="Content-Type" content="text/html charset=utf-8">Hi Xiaoke,<div><br></div><div>Can you explain a little bit more about what you mean by "propagation delay"?  Is this something related to the link attached to the face?  Or it is something similar to "RTT" value for a specific FIB entry for a specific face?</div><div><br></div><div>---</div><div>Alex</div><div><br></div><div><br><div><div>On Jun 12, 2013, at 8:15 PM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:</div><br><blockquote type="cite">
                <div>Dear all,
                </div><div><span style="white-space:pre">   </span>I want to select the best next hop (best next face) by propagation delay, but I am not sure whether it is support already by ndnSIM or not.</div><div><br></div><div><span style="white-space:pre">  </span>Can anyone else give some hint?</div>
                <div><div><br></div><div style="font-family: Futura; font-size: 13px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; position: static; z-index: auto; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke (Shock) Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China, 100084</font></span></div></font></div></div></div></blockquote></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>
            _______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>