Content deleted Content added
m Correct minor typo. |
m clean up, typo(s) fixed: mid-point → midpoint using AWB |
||
Line 12:
In [[computer science]], '''multiplicative binary search''' is a variation
of [[binary search algorithm|binary search]] that uses a specific permutation of keys in an array instead of the sorted order used by regular binary
search.<ref>{{cite book|first=Thomas A.|last=Standish|title=Data Structure Techniques|publisher=Addison-Wesley|year=1980|chapter=Chapter 4.2.2: Ordered Table Search|pages=
Multiplicative binary search was first described by Thomas Standish in 1980.
This algorithm was originally proposed to simplify the
Multiplicative binary search is used by some [[optimizing compiler
== Algorithm ==
Line 28:
# if A<sub>''i''</sub> < ''T'', set ''i'' to 2×''i'' + 1 and go to step 2.
# if A<sub>''i''</sub> > ''T'', set ''i'' to 2×''i'' + 2 and go to step 2.
== See also ==
|