A Python']Python-Based Design-by-Contract Evolutionary Algorithm Framework with Augmented Diagnostic Capabilities

被引:0
|
作者
Panchapakesan, Ashwin [1 ]
Abielmona, Rami
Petriu, Emil [1 ]
机构
[1] Univ Ottawa, Sch EECS, Ottawa, ON, Canada
关键词
evolutionary algorithm; design-by-contract; !text type='python']python[!/text] programming language;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Evolutionary algorithms are a class of algorithms that try to mimic natural, biological evolution a la Darwinian natural selection, to compute solutions to a given problem. They are especially useful when no well known strategies for computing solutions to such a problem exist. Evolutionary algorithms begin by creating a collection (population) of candidate solutions to the problem at hand; and through repeated application of genetic operators such as crossover and mutation, they iterate over multiple generations of this population, until they eventually converge onto an attractive solution. One important problem facing code implementing Evolutionary Algorithms is that due to the dynamic nature of the individual chromosomes in a population, simple coding errors lead to complex bugs that are difficult to both diagnose and debug. This problem is only exacerbated when attempting to develop the algorithms in a dynamically typed language such as Python. This paper presents a novel Evolutionary Algorithm framework for the Python programming language that implements design-by-contract, a paradigm in which each function and class must follow a contractual set of pre-conditions and post-conditions. Failure to follow the contract causes an error condition identifying the violated clause, thereby catching bugs earlier in the development process and in a more descriptive manner.
引用
收藏
页码:2517 / 2524
页数:8
相关论文
共 50 条
  • [41] Design and Implementation of a Python']Python-based Software for High Field Magneto-Imaging System
    Gongye, Xiaoqing
    Liu, Xinyu
    Khalifa, Mahmoud A.
    Wang, Jinsheng
    Zhang, Xinchun
    Sheng, Zhigao
    2024 5TH INTERNATIONAL CONFERENCE ON MECHATRONICS TECHNOLOGY AND INTELLIGENT MANUFACTURING, ICMTIM 2024, 2024, : 118 - 121
  • [42] PycWB: A user-friendly, Modular, and python']python-based framework for gravitational wave unmodelled search
    Xu, Yumeng
    Tiwari, Shubhanshu
    Drago, Marco
    SOFTWAREX, 2024, 26
  • [43] Wideband 20 GHz RF Digitizer and Python']Python-based Open Application Framework for Test and Measurement
    Adnani, Nikhil
    Hember, Tim
    Helaly, Tarek
    Farhan, Mohammad
    Ward, Ian
    2013 IEEE AUTOTESTCON, 2013,
  • [44] Research and deployment of a Python']Python-based software framework for large-scale physical experiment control
    Xia, Shouteng
    Zhang, Yinhong
    Qian, Sen
    Song, Ruiqiang
    Yang, Jie
    JOURNAL OF INSTRUMENTATION, 2023, 18 (10)
  • [45] Experiences Using a Novel Python']Python-Based Hardware Modeling Framework for Computer Architecture Test Chips
    Torng, Christopher
    Wang, Moyang
    Sudheendra, Bharath
    Murali, Nagaraj
    Jayasuriya, Suren
    Srinath, Shreesha
    Pritchard, Taylor
    Ying, Robin
    Batten, Christopher
    2016 IEEE HOT CHIPS 28 SYMPOSIUM (HCS), 2016,
  • [46] An open-source Python']Python-based tool for Mann turbulence generation with constraints and non-Gaussian capabilities
    Dimitrov, Nikolay
    Pedersen, Mads
    Hannesdottir, Asta
    SCIENCE OF MAKING TORQUE FROM WIND, TORQUE 2024, 2024, 2767
  • [47] Design of a python-based wireless network optimization and testing system
    Yang, Hongxue
    Open Automation and Control Systems Journal, 2015, 7 (01): : 353 - 357
  • [48] A Python']Python-Based Framework for Computationally Efficient Trim and Real-Time Simulation Using Comprehensive Analysis
    Sridharan, Ananth
    Rubenstein, Greg
    Moy, David Michael
    Chopra, Inderjit
    JOURNAL OF THE AMERICAN HELICOPTER SOCIETY, 2018, 63 (01)
  • [49] The Unlock Project: A Python']Python-based framework for practical brain-computer interface communication "app" development
    Brumberg, Jonathan S.
    Lorenz, Sean D.
    Galbraith, Byron V.
    Guenther, Frank H.
    2012 ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY (EMBC), 2012, : 2505 - 2508
  • [50] pyGAPS: a Python-based framework for adsorption isotherm processing and material characterisation
    Paul Iacomi
    Philip L. Llewellyn
    Adsorption, 2019, 25 : 1533 - 1542