mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-21 19:50:35 +01:00
benchmark: update filter
This commit is contained in:
parent
cca298709f
commit
b1df4366e6
@ -12,6 +12,15 @@ public class Filter {
|
|||||||
|
|
||||||
public static boolean isFiltered(DataEnum d, SortEnum s) {
|
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) {
|
if (s == SortEnum.MERGE_SORT) {
|
||||||
return List.of(
|
return List.of(
|
||||||
DataEnum.RANDOM_INTEGERS_300M,
|
DataEnum.RANDOM_INTEGERS_300M,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user