Hi,<br><br>I just found that it is my fault and "topologyReader.SetFileType (3);" should be "topologyReader.SetFileType (2);".<br>Sorry for the disturbance.<br><br>Thanks,<br>Xiaoyan<br><br><div class="gmail_quote">
On Wed, Jan 23, 2013 at 11:48 AM, Xiao yan Hu <span dir="ltr"><<a href="mailto:xhbreezehu@gmail.com" target="_blank">xhbreezehu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi guys,<br><br>Do U have any experience using RocketfuelWeightsReader in ndnSIM?<br>I tried in the following way:<br><br><span style="color:rgb(102,255,255)">snip from my code:</span><br>57   RocketfuelWeightsReader topologyReader ("", 25);<br>

 58   topologyReader.SetFileName ("/home/me/works/ndnSIM/ns-3/scratch/edges.lat");<br> 59   topologyReader.SetFileType (3);<br> 60   topologyReader.Read ();<br><br>But I got the following error: <br>msg="Topology file /home/me/works/ndnSIM/ns-3/scratch/edges.lat does not have "router" section", file=../src/ndnSIM/plugins/topology/annotated-topology-reader.cc, line=160<br>

terminate called without an active exception<br><br><br>Any suggestions?<br>Thanks in advance!<br><br>Best Regards,<br>Xiaoyan<br><br>
</blockquote></div><br>