Hello World Genetic Algorithm

版本 1.3.0.0 (6.5 KB) 作者: Grant
Solves User Defined Strings Using A Genetic Algorithm
802.0 次下载
更新时间 2015/3/8

查看许可证

This is a very efficient implementation of a string solving genetic algorithm. The code has been completely vectorized and the program is able to handle any string of any length as long as it only contains ASCII characters (although this means most symbols are useable).
The code defaults to solving for "Hello, world!", however any input can be defined at the top line of the code.

引用格式

Grant (2024). Hello World Genetic Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/49574-hello-world-genetic-algorithm), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.3.0.0

Added different types of selection and crossover functions to allow users to learn more about how Genetic Algorithms work. You can now also plot the rate at which the convergence to the ideal answer occurs.

1.2.0.0

added a fun photo.

1.1.0.0

Cleaned up some comments

1.0.0.0