juan_gandhi: (VP)
2016-10-20 06:07 pm
Entry tags:

nonbinary search part 2

Stats I got.

I count the average number of comparisons now. There's a challenge, implementing linear interpolation for strings, for instance. Doable, I guess. Thanks a lot for the idea of the integral of Cantor Set. It helped a lot to improve the algorithm.
datasetsizeboosted searchstandard binary
Sine100009.0015.36
Cantor Set102516.0017.86
Convex/concave2189834.526.45
Concave1099904.965.00
Linear500003.0015.36
Convex1089933.605.00
Concave100023.714.10