Imperative Genetic Programming

被引:0
|
作者
Fajfar, Iztok [1 ]
Rojec, Ziga [1 ]
Burmen, Arpad [1 ]
Kunaver, Matevz [1 ]
Tuma, Tadej [1 ]
Tomazic, Saso [1 ]
Puhan, Janez [1 ]
机构
[1] Univ Ljubljana, Fac Elect Engn, Trzaska 25, Ljubljana 1000, Slovenia
来源
SYMMETRY-BASEL | 2024年 / 16卷 / 09期
关键词
evolutionary algorithms; tree genetic programming; linear genetic programming; imperative programming; OPTIMIZATION;
D O I
10.3390/sym16091146
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Genetic programming (GP) has a long-standing tradition in the evolution of computer programs, predominantly utilizing tree and linear paradigms, each with distinct advantages and limitations. Despite the rapid growth of the GP field, there have been disproportionately few attempts to evolve 'real' Turing-like imperative programs (as contrasted with functional programming) from the ground up. Existing research focuses mainly on specific special cases where the structure of the solution is partly known. This paper explores the potential of integrating tree and linear GP paradigms to develop an encoding scheme that universally supports genetic operators without constraints and consistently generates syntactically correct Python programs from scratch. By blending the symmetrical structure of tree-based representations with the inherent asymmetry of linear sequences, we created a versatile environment for program evolution. Our approach was rigorously tested on 35 problems characterized by varying Halstead complexity metrics, to delineate the approach's boundaries. While expected brute-force program solutions were observed, our method yielded more sophisticated strategies, such as optimizing a program by restricting the division trials to the values up to the square root of the number when counting its proper divisors. Despite the recent groundbreaking advancements in large language models, we assert that the GP field warrants continued research. GP embodies a fundamentally different computational paradigm, crucial for advancing our understanding of natural evolutionary processes.
引用
收藏
页数:19
相关论文
共 50 条
  • [31] Alternating states for dual nondeterminism in imperative programming
    Hesselink, Wim H.
    THEORETICAL COMPUTER SCIENCE, 2010, 411 (22-24) : 2317 - 2330
  • [32] KALEIDOSCOPE - MIXING OBJECTS, CONSTRAINTS, AND IMPERATIVE PROGRAMMING
    FREEMANBENSON, BN
    SIGPLAN NOTICES, 1990, 25 (10): : 77 - 88
  • [33] TOWARD INTEGRATING IMPERATIVE AND LOGIC PROGRAMMING PARADIGMS - A WYSIWYG APPROACH TO PROLOG PROGRAMMING
    DELRIEUX, C
    AZERO, P
    TOHME, F
    SIGPLAN NOTICES, 1991, 26 (03): : 35 - 44
  • [34] Imperative streams - A monadic combinator library for synchronous programming
    Scholz, E
    ACM SIGPLAN NOTICES, 1999, 34 (01) : 261 - 272
  • [35] Adoption and focus:: Practical linear types for imperative programming
    Fähndrich, M
    DeLine, R
    ACM SIGPLAN NOTICES, 2002, 37 (05) : 13 - 24
  • [36] The Semantics of wlp and slp of Fuzzy Imperative Programming Languages
    Wu, Hengyang
    Chen, Yixiang
    NONLINEAR MATHEMATICS FOR UNCERTAINTY AND ITS APPLICATIONS, 2011, 100 : 357 - +
  • [37] Handling SLA Violations via Constraint Imperative Programming
    Chen, Ruoyu
    Liao, Lejian
    Fang, Zhi
    LISS 2013, 2015, : 191 - 196
  • [38] Implementation of proof search in the imperative programming language pizza
    Urban, C
    AUTOMATED REASONING WITH ANALYTIC TABLEAUX AND RELATED METHODS, 1998, 1397 : 313 - 319
  • [39] An Epistemic Model-Based Tutor for Imperative Programming
    Kumar, Amruth N.
    ARTIFICIAL INTELLIGENCE IN EDUCATION (AIED 2021), PT II, 2021, 12749 : 213 - 218
  • [40] FIPS - A FUNCTIONAL-IMPERATIVE LANGUAGE FOR EXPLORATIVE PROGRAMMING
    PASSIA, J
    LOHR, KP
    SIGPLAN NOTICES, 1993, 28 (05): : 39 - 48