diff --git a/h2/mbc.py b/h2/mbc.py index 7ead310..7612336 100644 --- a/h2/mbc.py +++ b/h2/mbc.py @@ -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"): diff --git a/h2/tmptest.py b/h2/tmptest.py index fb13b82..6e50290 100644 --- a/h2/tmptest.py +++ b/h2/tmptest.py @@ -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",