笛卡尔遗传规划Cartesian Genetic Programming (CGP)简单理解(1)

本文介绍了遗传算法的基本概念,如编码、适应度评价、选择、交叉和变异操作。接着,深入讲解了笛卡尔遗传规划(CGP),它是从进化数字电路发展而来的一种形式,用有向图表示,包含输入、输出节点和特定的连接规则。CGP通过节点函数和遗传操作生成新的个体,常用于复杂问题的优化。
摘要由CSDN通过智能技术生成

初识遗传算法Genetic Algorithm(GA)

  遗传算法是计算数学中用于解决最优化的搜索算法,是进化算法的一种。进化算法借鉴了进化生物学中的一些现象而发展起来的,这些现象包括遗传、突变、自然选择以及杂交等,是一个通过计算机模拟解决最优化问题的过程,遗传算法从代表问题可能存在的一个解集的一个种群(population)开始的,一个种群由一定数量的候选解也称为个体(individual)组成,个体由基因(gene)编码而成,基因的表现形式实际上是每个个体上带有的染色体(chromosome) 染色体即为基因的集合,应用遗传算法的一般步骤是:1.需要实现表现形到基因型的编码工作,常用编码方法有二进制编码、格雷码编码、浮点编码和符号编码。2.进化从随机个体(初代种群)的种群开始,之后一代一代进化。按照优胜劣汰的准则在每一代中,评价整个种群的适应度(fitness),从当前种群中选择(selection)多个个体(基于它们的适应度)。3.借助于自然遗传学的遗传算子(genetic operators)进行组合交叉(crossover)变异(mutation) 产生新的种群,该种群在算法的下一次迭代中成为新的种群。4.在末代种群中的最优个体通过解码(decoding)产生最优解

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Contents xi 1 Introduction 1 1.1 Genetic Programming in a Nutshell . . . . . . . . . . . . . . . 2 1.2 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.4 Overview of this Field Guide . . . . . . . . . . . . . . . . . . 4 I Basics 7 2 Representation, Initialisation and Operators in Tree-based GP 9 3 Getting Ready to Run Genetic Programming 19 4 Example Genetic Programming Run 29 5 Alternative Initialisations and Operators in Tree-based GP 39 6 Modular, Grammatical and Developmental Tree-based GP 47 7 Linear and Graph Genetic Programming 61 8 Probabilistic Genetic Programming 69 9 Multi-objective Genetic Programming 75 10 Fast and Distributed Genetic Programming 83 11 GP Theory and its Applications 97 III Practical Genetic Programming 109 12 Applications 111 13 Troubleshooting GP 131 14 Conclusions 141 IV Tricks of the Trade 143 A Resources 145 A.1 Key Books . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 A.2 Key Journals . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 A.3 Key International Meetings . . . . . . . . . . . . . . . . . . . 147 A.4 GP Implementations . . . . . . . . . . . . . . . . . . . . . . . 147 A.5 On-Line Resources . . . . . . . . . . . . . . . . . . . . . . . . 148 B TinyGP 151 B.1 Overview of TinyGP . . . . . . . . . . . . . . . . . . . . . . . 151 B.2 Input Data Files for TinyGP . . . . . . . . . . . . . . . . . . 153 B.3 Source Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 B.4 Compiling and Running TinyGP . . . . . . . . . . . . . . . . 162 Bibliography 167 Index 225 xiv
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值