Polytypic Genetic Programming

被引:1
作者
Swan, Jerry [1 ]
Krawiec, Krzysztof [2 ]
Ghani, Neil [3 ]
机构
[1] Univ York, Comp Sci, Deramore Lane, York YO10 5GH, N Yorkshire, England
[2] Poznan Univ Tech, Inst Comp Sci, PL-60965 Poznan, Poland
[3] Univ Strathclyde, Dept Comp & Informat Sci, Glasgow G1 1XH, Lanark, Scotland
来源
APPLICATIONS OF EVOLUTIONARY COMPUTATION (EVOAPPLICATIONS 2017), PT II | 2017年 / 10200卷
基金
英国工程与自然科学研究理事会;
关键词
Polytypic programming; Datatype generic programming; Genetic programming; Functional programming; Scala;
D O I
10.1007/978-3-319-55792-2_5
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Program synthesis via heuristic search often requires a great deal of 'boilerplate' code to adapt program APIs to the search mechanism. In addition, the majority of existing approaches are not type-safe: i.e. they can fail at runtime because the search mechanisms lack the strict type information often available to the compiler. In this article, we describe Polytope, a Scala framework that uses polytypic programming, a relatively recent advance in program abstraction. Polytope requires a minimum of boilerplate code and supports a form of strong-typing in which type rules are automatically enforced by the compiler, even for search operations such as mutation which are applied at runtime. By operating directly on language-native expressions, it provides an embeddable optimization procedure for existing code. We give a tutorial example of the specific polytypic approach we adopt and compare both runtime efficiency and required lines of code against the well-known EpochX GP framework, showing comparable performance in the former and the complete elimination of boilerplate for the latter.
引用
收藏
页码:66 / 81
页数:16
相关论文
共 35 条
  • [1] [Anonymous], 1973, Evolutionsstrategie: Optimierung technischer Systeme nach Prinzipien derbiologischen Evolution
  • [2] [Anonymous], 2013, ESSENTIALS METAHEURI
  • [3] [Anonymous], 2015, P COMP PUBL ANN C GE
  • [4] [Anonymous], 2003, Genetic programming IV: routine human-competitive machine intelligence
  • [5] [Anonymous], 2015, Genetic Improvement 2015 Workshop, DOI DOI 10.1145/2739482.2768425
  • [6] [Anonymous], CSM195 U STIRL
  • [7] Dawson-Howe K., 2014, A Practical Introduction to Computer Vision with OpenCV
  • [8] Fortin FA, 2012, J MACH LEARN RES, V13, P2171
  • [9] Gibbons J, 2007, LECT NOTES COMPUT SC, V4719, P1
  • [10] Gibbons Jeremy., 2003, FUN PROGRAMMING, P41