[ndnSIM] How to use RocketfuelWeightsReader

Xiao yan Hu xhbreezehu at gmail.com
Tue Jan 22 19:48:01 PST 2013


Hi guys,

Do U have any experience using RocketfuelWeightsReader in ndnSIM?
I tried in the following way:

snip from my code:
57   RocketfuelWeightsReader topologyReader ("", 25);
 58   topologyReader.SetFileName
("/home/me/works/ndnSIM/ns-3/scratch/edges.lat");
 59   topologyReader.SetFileType (3);
 60   topologyReader.Read ();

But I got the following error:
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
terminate called without an active exception


Any suggestions?
Thanks in advance!

Best Regards,
Xiaoyan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130123/5daaa2fd/attachment.html>


More information about the ndnSIM mailing list