The origin of a binary-search paradigm |
| |
Affiliation: | Computer Science Department, Stanford University, Stanford, CA 94305, U.S.A.;Applied Mathematics Department, Weizmann Institute, Rehovot, Israel;Artificial Intelligence Center, SRI International, Menlo Park, CA 94205, U.S.A. |
| |
Abstract: | In a binary-search algorithm for the computation of a numerical function, the interval in which the desired output is sought is divided in half at each iteration. The paper considers how such algorithms might be derived from their specifications by an automatic system for program synthesis. The derivation of the binary-search concept has been found to be surprisingly straight-forward. The programs obtained, though reasonably simple and efficient, are quite different from those that would have been constructed by informal means. |
| |
Keywords: | |
本文献已被 ScienceDirect 等数据库收录! |
|