-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathUsage.txt
More file actions
34 lines (25 loc) · 895 Bytes
/
Usage.txt
File metadata and controls
34 lines (25 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Usage:
java algorithms.Main [ COMPARE ] [ ALGORITHM ] [ SIZE ] [ -OPTIONS ]
where ALGORITHM may be:
<"bubble"> - Bubble Sort
<"comb"> - Comb Sort
<"counting"> - Counting Sort
<"heap"> - Heap Sort
<"insertion"> - Insertion Sort
<"lsdradix"> - LSD Radix Sort
<"merge"> - Merge Sort
<"msdradix"> - MSD Radix Sort
<"quick"> - Quick Sort
<"selection"> - Selection Sort
<"shell"> - Shell Sort
where OPTIONS include:
-r <RUNS>
Specify the number of times the array should be sorted.
-R
Specify that the members of the array can take any value from 0 to Integer.MAX_VALUE.
where COMPARE indicates the "-C" comparison flag:
Usage in comparison mode:
java algorithms.Main -C [ ALGORITHM ] [ ALGORITHM ] [ SIZE ] [ -OPTIONS ]
Test Usage:
java algorithms.Testing [ -t ]
where -t denotes detailed test results.