def process_chicago_network(): ''' prepare .csv files for our algorithm from .txt files available in http://www.bgu.ac.il/~bargera/tntp/ ''' process_trips('data/ChicagoSketch_trips.txt', 'data/Chicago_od.csv') process_net('data/ChicagoSketch_net.txt', 'data/Chicago_net.csv') input = 'data/ChicagoSketch_node.csv' output = 'data/Chicago_node.csv' max_X = -87.110063 min_X = -88.9242653 max_Y = 42.711908 min_Y = 40.946233 process_node(input, output, min_X, max_X, min_Y, max_Y)
def process_chicago_network(): """ prepare .csv files for our algorithm from .txt files available in http://www.bgu.ac.il/~bargera/tntp/ """ process_trips("data/ChicagoSketch_trips.txt", "data/Chicago_od.csv") process_net("data/ChicagoSketch_net.txt", "data/Chicago_net.csv") input = "data/ChicagoSketch_node.csv" output = "data/Chicago_node.csv" max_X = -87.110063 min_X = -88.9242653 max_Y = 42.711908 min_Y = 40.946233 process_node(input, output, min_X, max_X, min_Y, max_Y)
def process_LA_od(): process_trips('data/LA_od.txt', 'data/LA_od.csv')