From b1df4366e649cdc95a963bafaac87ae913c1ccac Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 17 Dec 2024 21:24:54 +0000 Subject: [PATCH] benchmark: update filter --- .../java/de/uni_marburg/powersort/benchmark/Filter.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/src/main/java/de/uni_marburg/powersort/benchmark/Filter.java b/app/src/main/java/de/uni_marburg/powersort/benchmark/Filter.java index 023403c..f64984f 100644 --- a/app/src/main/java/de/uni_marburg/powersort/benchmark/Filter.java +++ b/app/src/main/java/de/uni_marburg/powersort/benchmark/Filter.java @@ -12,6 +12,15 @@ public class Filter { public static boolean isFiltered(DataEnum d, SortEnum s) { + if (s == SortEnum.QUICK_SORT) { + return List.of( + DataEnum.RANDOM_INTEGERS_300M, + DataEnum.ASCENDING_INTEGERS_300M, + DataEnum.DESCENDING_INTEGERS_250M, + DataEnum.ASCENDING_RUNS_1M + ).contains(d); + } + if (s == SortEnum.MERGE_SORT) { return List.of( DataEnum.RANDOM_INTEGERS_300M,