Description: 包括遗传算法的各种运算(交叉,变异)的实例源程序代码-Various operations, including genetic algorithms (crossover and mutation) of the instance of the source code Platform: |
Size: 104448 |
Author:高利敏 |
Hits:
Description: 自然计算中遗传算法的各个程序,matlab环境下开发的源代码。best.m 求种群中适应度最大的值
calfitvalue.m 计算每个个体的适应度
calobjvalue.m 适应度函数
crossover.m 交叉变换
decodebinary.m 将二进制数转换成十进制数
decodechrom.m 将二进制数转换成十进制数
initpop.m 产生初始种群
mutation.m 变异
selection.m 选择合适的个体进行复制
main.m 主函数
-Nature of each genetic algorithm calculation procedures, matlab environment with source code. best.m find the largest population in the fitness value of calfitvalue.m calculated for each individual' s fitness calobjvalue.m fitness function crossover.m cross-conversion decodebinary.m Converts a binary number into decimal number decodechrom.m Converts a binary number into decimal number initpop.m generate initial population mutation.m variation selection.m select the appropriate individual to copy main.m primary function Platform: |
Size: 3072 |
Author:王芳 |
Hits:
Description: 旅行商问题(TSP)是典型的NP完全问题,遗传算法是求解NP完全问题的一种常用方法。旅行商问题(TSP)的蚁群算法实现算法。在MATLAB中用遗传算法施行对TSP问题进行了求解,进行了选择、交叉和变异算子进行了算法设计。MATLAB源代码。-Traveling Salesman Problem (TSP) is a typical NP-complete problem, genetic algorithm for solving NP-complete problems, a common method. Traveling Salesman Problem (TSP) ant colony algorithm. Implemented in MATLAB using genetic algorithms to solve the TSP problem, a selection, crossover and mutation operators of the algorithm design. MATLAB source code. Platform: |
Size: 2048 |
Author:申悦 |
Hits: