def chicago_parametric_study_2(alpha): """ study the test_*.csv files generated by chicago_parametric_study() in particular, display the average costs for each type of users alpha = 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0 """ # graphs g, d, node, feat = load_chicago() d[:, 2] = d[:, 2] / 2000 # technically, it's 2*demand/4000 parametric_study(alpha, g, d, node, feat, 2000.0, 1000.0, "data/chicago/test_{}.csv")
def chicago_parametric_study_2(alpha): ''' study the test_*.csv files generated by chicago_parametric_study() in particular, display the average costs for each type of users alpha = 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0 ''' # graphs g, d, node, feat = load_chicago() d[:,2] = d[:,2] / 2000 # technically, it's 2*demand/4000 parametric_study(alpha, g, d, node, feat, 2000., 1000., 'data/chicago/test_{}.csv')
def LA_parametric_study(alphas): g, d, node, feat = load_LA_2() d[:, 2] = d[:, 2] / 4000. parametric_study(alphas, g, d, node, feat, 1000., 3000., 'data/LA/test_{}.csv', stop=1e-3, stop_cycle=1e-3)
def I210_parametric_study(alphas): g, d, node, geom = load_I210() d[:, 2] = d[:, 2] / 4000. parametric_study(alphas, g, d, node, geom, 3000., 100., 'data/I210/test_{}.csv', stop=1e-3, stop_cycle=1e-3)
def I210_parametric_study(alphas): g, d, node, geom = load_I210() d[:,2] = d[:,2] / 4000. parametric_study(alphas, g, d, node, geom, 3000., 100., \ 'data/I210_attack/test_{}.csv', stop=1e-3, stop_cycle=1e-3)
def LA_parametric_study(alphas): g, d, node, feat = load_LA_2() d[:,2] = d[:,2] / 4000. parametric_study(alphas, g, d, node, feat, 1000., 3000., 'data/LA/test_{}.csv',\ stop=1e-3, stop_cycle=1e-3)