Package algs11
Class BinarySearch
java.lang.Object
algs11.BinarySearch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static int
rank
(double key, double[] a) static int
rank0
(double key, double[] a) static int
rankHelper1
(double key, double[] a, int lo, int hi) static int
rankHelper2
(double key, double[] a, int lo, int hi) static int
rankHelper3
(double key, double[] a, int lo, int hi) static void
testInteractive
(String whitelistFile) static void
testPerformance
(String whitelistFile, String keyFile) static void
-
Constructor Details
-
BinarySearch
public BinarySearch()
-
-
Method Details
-
rank0
-
rank
-
rankHelper1
-
rankHelper2
-
rankHelper3
-
testTrace
-
testInteractive
-
testPerformance
-
main
-