文件名称:heredity
介绍说明--下载内容均来自于网络,请自行研究使用
遗传算法 解旅行商问题
在命令行输入要读入的文件,文件主要描述旅行商问题中每个城市的坐标,本程序群体数是100,仅遗传了1000代,解20个城市时可以较大概率得到最优解,读入的文件格式见压缩包文件-Genetic Algorithm for Traveling Salesman Problem in the command-line input to read the documents, the paper s main descr iption of traveling salesman problem in the coordinates of each city, the program groups are 100, only 1,000 genetic generation, solution of 20 cities can be larger probability to be the optimal solution, read the file format see the cabinet file
在命令行输入要读入的文件,文件主要描述旅行商问题中每个城市的坐标,本程序群体数是100,仅遗传了1000代,解20个城市时可以较大概率得到最优解,读入的文件格式见压缩包文件-Genetic Algorithm for Traveling Salesman Problem in the command-line input to read the documents, the paper s main descr iption of traveling salesman problem in the coordinates of each city, the program groups are 100, only 1,000 genetic generation, solution of 20 cities can be larger probability to be the optimal solution, read the file format see the cabinet file
(系统自动生成,下载前可以参看下载内容)
下载文件列表
heredity.cpp
TSP10.txt
TSP10.txt