通过组合进化的开放式自动编程
Open-Ended Automatic Programming Through Combinatorial Evolution
摘要:
组合进化-通过现有事物的组合创造新事物-可以成为进化而不是设计电子电路等技术对象的强大方式。有趣的是,这似乎是一个持续的,因此开放式的过程,创造新颖性,增加复杂性。在这里,我们在软件开发中采用组合进化。虽然目前的方法,如遗传编程是有效的,在解决特定的问题,他们都收敛到一个解决方案,并没有创造任何新的了。语言和技术等复杂系统的组合进化被认为是开放式的。因此,通过组合进化,开放式自动编程是可能的。我们实现了一个计算机程序,模拟存储在数据库中的代码块的组合演化,使它们可用于组合。在基于算法的代码生成的意义上,自动编程是通过计算正则表达式来实现的。我们发现程序设计语言的保留关键字适合于在模拟开始时定义基本代码块。我们还发现,占位符可以用来组合代码块,代码复杂性可以用对程序设计语言的重要性来描述。在以前的电子电路组合演化模拟中,复杂性从简单的关键字和专用字符增加到更复杂的变量声明、类定义、方法以及包含方法和变量声明的类。组合进化,因此,似乎是一个很有前途的方法,开放式自动编程。
英文摘要:
Combinatorial evolution - the creation of new things through the combination of existing things - can be a powerful way to evolve rather than design technical objects such as electronic circuits. Intriguingly, this seems to be an ongoing and thus open-ended process creating novelty with increasing complexity. Here, we employ combinatorial evolution in software development. While current approaches such as genetic programming are efficient in solving particular problems, they all converge towards a solution and do not create anything new anymore afterwards. Combinatorial evolution of complex systems such as languages and technology are considered open-ended. Therefore, open-ended automatic programming might be possible through combinatorial evolution. We implemented a computer program simulating combinatorial evolution of code blocks stored in a database to make them available for combining. Automatic programming in the sense of algorithm-based code generation is achieved by evaluating regular expressions. We found that reserved keywords of a programming language are suitable for defining the basic code blocks at the beginning of the simulation. We also found that placeholders can be used to combine code blocks and that code complexity can be described in terms of the importance to the programming language. As in a previous combinatorial evolution simulation of electronic circuits, complexity increased from simple keywords and special characters to more complex variable declarations, class definitions, methods, and classes containing methods and variable declarations. Combinatorial evolution, therefore, seems to be a promising approach for open-ended automatic programming.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。