Power of Brute-Force Search in Strongly-Typed Inductive Functional Programming Automation
Power of Brute-Force Search in Strongly-Typed Inductive Functional Programming Automation
复制标题
强类型归纳函数编程自动化中强力搜索的威力
DOI:
10.1007/978-3-540-28633-2_10
复制
发表时间:
2004
期刊:
影响因子:
--
通讯作者:
Susumu Katayama
中科院分区:
文献类型:
--
作者:
Susumu Katayama
A successful case of applying brute-force search to functional programming automation is presented and compared with a conventional genetic programming method. From the information of the type and the property that should be satisfied, this algorithm is able to find automatically the shortest Haskell program using the set of function components (or library) configured beforehand, and there is no need to design the library every time one requests a new functional program.
According to the presented experiments, programs consisted of several function applications can be found within some seconds even if we always use the library designed for general use. In addition, the proposed algorithm can efficiently tell the number of possible functions of given size that are consistent with the given type, and thus can be a tool to evaluate other methods like genetic programming by providing the information of the baseline performance.