mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-21 19:50:35 +01:00
FinnSort: Disable printouts
This commit is contained in:
parent
59bfd44f45
commit
dbf26421d9
@ -15,7 +15,7 @@ public class FinnSort {
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
int j = extendRunRight(a, i, c);
|
int j = extendRunRight(a, i, c);
|
||||||
|
|
||||||
printList(a, c);
|
// printList(a, c);
|
||||||
|
|
||||||
runs.add(new Run(i, j, 0));
|
runs.add(new Run(i, j, 0));
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ public class FinnSort {
|
|||||||
System.arraycopy(merge.toArray(), 0, a, min(r1.start, r2.start), merge.size());
|
System.arraycopy(merge.toArray(), 0, a, min(r1.start, r2.start), merge.size());
|
||||||
Run r = new Run(min(r1.start, r2.start), max(r1.end, r2.end), min(r1.power, r2.power));
|
Run r = new Run(min(r1.start, r2.start), max(r1.end, r2.end), min(r1.power, r2.power));
|
||||||
runs.add(r);
|
runs.add(r);
|
||||||
printList(a, c);
|
// printList(a, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static <T> int extendRunRight(T[] a, int i, Comparator<? super T> c) {
|
private static <T> int extendRunRight(T[] a, int i, Comparator<? super T> c) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user