Hi all:
I want to use the Stanford data set to solve the shortest path in graph-tool, but the Stanford data is all in TXT format, how do I convert it to gt file format?
Thank,list.
Tyro
attachment.html (271 Bytes)
facebook_combined.txt (921 KB)
Hi all:
I want to use the Stanford data set to solve the shortest path in graph-tool, but the Stanford data is all in TXT format, how do I convert it to gt file format?
Thank,list.
Tyro
attachment.html (271 Bytes)
facebook_combined.txt (921 KB)
You load it as a graph using load_graph_from_csv() and then save it.