<div dir="ltr">Hi there,<div><br></div><div>I am trying to write an simple static forwarding strategy based on the Nexthop cost. I fall in trouble as using the metric (from the topology file) value to calculate the NextHop cost in the </div><div>dijkstra_shortest_paths. </div><div><br></div><div>1. The <b>boost::DistancesMap distances;</b> seems have already calculate the optimal distance before the <b>dijkstra_shortest_paths</b> run. </div><div><br></div><div>2. If it is suitable or possible to pass the metric (from the topology file) to the <b>boost::NdnGlobalRouterGraph graph; </b> as the edge or edge weights? It seems the default value is 1 for each edge of a graph.</div><div><br></div><div>Thanks a lot~</div><div><br></div><div>Best Regards</div><div>Yuhang</div><div> </div></div>