Skip to content
Browse files

updating data

  • Loading branch information...
1 parent a3f390e commit fa98d2ac7fdbbec15f55932e781e5f2d6aba9386 @yonromai committed Jun 1, 2012
View
4 data/aggregator.py
@@ -40,7 +40,7 @@
hospitalsPath = 'source/Hospitals.gexf'
#-----------------------------------
-# (Pre)Processing the different graphs
+# (Pre)Processing the different graphscle
#-----------------------------------
def process_roads(roadPath):
print 'Processing Roads...'
@@ -271,7 +271,7 @@ def extract_reduced_graph(G, centroids, idx, zone):
return MG
def write_json(G, i):
- data = json_graph.node_link_data(G)
+ data = json_graph.adjacency_data(G)
s = json.dumps(data)
f = open(outFileName.format('-{0}'.format(i),"json"), 'w')
f.write(s)
View
2 data/shanghaiNetwork-1000.json
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 data/shanghaiNetwork-150.json
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 data/shanghaiNetwork-1500.json
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 data/shanghaiNetwork-2000.json
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 data/shanghaiNetwork-2500.json
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 data/shanghaiNetwork-500.json
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit fa98d2a

Please sign in to comment.
Something went wrong with that request. Please try again.