This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <html> | |
| <script type="text/javascript" src="http://www.google.com/jsapi"></script> | |
| <script type="text/javascript"> | |
| var gAxesTable = null ; | |
| var gMembersTable = null ; | |
| google.load("visualization", "1"); | |
| // Set callback to run when API is loaded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| linksTable = new Array | |
| ( | |
| {'from': 12, 'to': 4}, | |
| {'from': 11, 'to': 9}, | |
| {'from': 11, 'to': 22}, | |
| {'from': 9, 'to': 22}, | |
| {'from': 23, 'to': 1}, | |
| {'from': 16, 'to': 19}, | |
| {'from': 16, 'to': 28}, | |
| {'from': 16, 'to': 34}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| import os | |
| print "debut" | |
| for nbReseau in range(8): | |
| for nbSimulation in range(10): | |
| print "reseau " + str(nbReseau + 1) + " / Simulation : " + str(nbSimulation + 1) | |
| inFilePath = "/home/administrateur/experiences/reseau_" + str(nbReseau + 1) + "-exp_" + str(nbSimulation + 1) + "_links-traffic.csv" | |
| inFile = open(inFilePath) | |
| inCsv = csv.reader(inFile) |
NewerOlder