Fix small mistakes.

This commit is contained in:
Casper 2018-10-21 18:26:17 +02:00
parent 6a44176cdf
commit d7b3d75e0f
No known key found for this signature in database
GPG Key ID: B1156723DB3BDDA8
2 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ def mbc_ch(points: Set[Point], flipper: callable, extra_prune=False, shuffle=Tru
pr = {p for p in points if p.x >= med_x}
# Shuffle
with Profiler("flipping constraints"):
with Profiler("building constraints"):
constraints = [((flipper(-p.x), flipper(-1)), flipper(-p.y)) for p in points]
if shuffle:
with Profiler("shuffling constraints"):

View File

@ -103,8 +103,8 @@ def do_one_profile(num_points):
#("gift_wrapper", rapper),
("quick_hull", quick_hull),
("mbc", mbc),
("mbc2", mbc2),
("mbc_no_shuffle", mbc_no_shuffle),
("mbc2", mbc2),
("mbc2_no_shuffle", mbc2_no_shuffle),
]
@ -144,7 +144,7 @@ def plot_mbc(results, ax):
"other",
"finding median",
"partitioning set",
"flipping constraints",
"building constraints",
"solving LP",
"finding bridge points",
"pruning between line points",