for fname in ["osm_eu_sample_100k_nw"]: r = .005 p = .5 q = .2 #bjtax is 1/500 and 1/50 #osm is 1/6000 and 1/300 #alpha = 1/6000 #max_r = 1/50 alpha = 1 / 6000 max_r = 1 / 100 min_r = alpha c = 0 red, blue = full_testing.generate_disk_sets(fname, r, p, q, min_r, max_r) for region, two_l_samp, sample_method, fast_disk in [("disk", True, "even", False), ("multiscale_disk_fixed", True, "even", False), ("multiscale_disk", True, "grid_direc", False), ("multiscale_disk", True, "grid_direc", True)]: full_testing.testing_full_framework(red, blue, "full_eps_disk_error_{}_{}_{}.csv".format(c, fname, region), -1, -4, 80, vparam="eps", region_name=region, sample_method=sample_method, alpha=alpha, two_level_sample=two_l_samp, fast_disk=fast_disk, min_disk_r=min_r, max_disk_r=max_r, max_time = 2000) c += 1
#max_r = 1/50 alpha = 1 / 6000 max_r = 1 / 300 min_r = alpha c = 0 red, blue = full_testing.generate_halfplane_sets(fname, r, p, q) for region, two_l_samp, sample_method, fast_disk in [ ("multiscale_disk", True, "grid_direc", True), ("halfplane", True, "halfplane", True), ("rectangle", True, "grid", True) ]: full_testing.testing_full_framework( red, blue, "full_bc_runtime_{}_{}_{}.csv".format(c, fname, region), -1, -5, 40, eps=.01, vparam="alpha", region_name=region, sample_method=sample_method, alpha=alpha, two_level_sample=two_l_samp, fast_disk=fast_disk, min_disk_r=min_r, max_disk_r=max_r, max_time=1000) c += 1
for fname in ["osm_eu_sample_100k_nw"]: r = .05 p = .5 q = .2 #bjtax is 1/500 and 1/50 #osm is 1/6000 and 1/300 #alpha = 1/6000 #max_r = 1/50 alpha = 1 / 6000 max_r = 1 / 300 min_r = alpha c = 0 red, blue = full_testing.generate_halfplane_sets(fname, r, p, q) for region, two_l_samp, sample_method in [("halfplane", True, None), ("halfplane", True, "hull"), ("halfplane", True, "halfplane")]: full_testing.testing_full_framework(red, blue, "full_halfplane_runtime_{}_{}_{}.csv".format(c, fname, region), -.1, -5, 80, eps=.05, vparam="alpha", region_name=region, sample_method=sample_method, alpha=alpha, two_level_sample=two_l_samp, min_disk_r=min_r, max_disk_r=max_r, max_time = 5000) c += 1