- codec c5x中关于的实验
- webflow_js 支持在web界面上画流程图
- SoftwareManual.doc This document contains a detailed description of the usage and configuration of the JSVM [Joint Scalable Video Model] software for the Scalable Video Coding [SVC] project of the Joint Video Team [JVT] of the ISO/IEC Moving Pictures Experts Group [MPEG] and the ITU
- double this is linked list.
- easyhook-52373 Microsoft® Detours latest release was in December 2006. Now times have changed and the NET Framework has become more and more popular. Besides the well known unmanaged code hooking
- RFID-anti-collision-multi-tag 针对无线射频识别(radio frequency identification
文件名称:遗传算法——旅行商问题mfc
-
所属分类:
- 标签属性:
- 上传时间:2017-07-06
-
文件大小:88kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
旅行商问题:一个旅行者要去很多城市,每个城市只去一次,问:该怎么走路线最短?
?
?????? 这个问题可以转化为:随机给n个点,如何连线这n个点,使得连线最短?
?
?????? 这个问题是遗传算法的经典问题~哈哈~~我试着写了一个程序来解决。
?
?????? 采用的策略是:
1.?????? 精英主义:每次有2个最优解直接进入下一代。
2.?????? 轮盘赌选择生育:每次对每一代的个体进行一次轮询,如果不适应度<某个随机数,那么选择这个个体进行生育。
3.?????? 单性繁殖:因为基因组的基因是互斥的且有序的,所以不适合两性繁殖。
4.?????? 交换变异:变异的方式为——随机选择两个不同位置的基因,交换位置。(Traveling salesman problem: a traveler is going to many cities, each city only once, ask: how to go, the shortest route?
This problem can be transformed into random to n points, how to connect the n points, the shortest line?
This problem is a classic problem of genetic algorithm ~ ha ha ~ ~ I try to write a program to solve.
Strategy is used:
1. elitism: every time there are 2 optimal solution directly into the next generation.
2. Roulette: every time a family of polling each generation of individuals, if not to "a random number, then the individual choice of fertility.
3. parthenogenesis: because genes are mutually exclusive and orderly, so it is not suitable for sexual reproduction.
4. exchange variation way -- random selection of two different positions of the gene exchange position.)
?
?????? 这个问题可以转化为:随机给n个点,如何连线这n个点,使得连线最短?
?
?????? 这个问题是遗传算法的经典问题~哈哈~~我试着写了一个程序来解决。
?
?????? 采用的策略是:
1.?????? 精英主义:每次有2个最优解直接进入下一代。
2.?????? 轮盘赌选择生育:每次对每一代的个体进行一次轮询,如果不适应度<某个随机数,那么选择这个个体进行生育。
3.?????? 单性繁殖:因为基因组的基因是互斥的且有序的,所以不适合两性繁殖。
4.?????? 交换变异:变异的方式为——随机选择两个不同位置的基因,交换位置。(Traveling salesman problem: a traveler is going to many cities, each city only once, ask: how to go, the shortest route?
This problem can be transformed into random to n points, how to connect the n points, the shortest line?
This problem is a classic problem of genetic algorithm ~ ha ha ~ ~ I try to write a program to solve.
Strategy is used:
1. elitism: every time there are 2 optimal solution directly into the next generation.
2. Roulette: every time a family of polling each generation of individuals, if not to "a random number, then the individual choice of fertility.
3. parthenogenesis: because genes are mutually exclusive and orderly, so it is not suitable for sexual reproduction.
4. exchange variation way -- random selection of two different positions of the gene exchange position.)
相关搜索: 旅行商问题
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Genetic\bin\Genetic.exe
Genetic\Genetic\GAMachine.cpp
Genetic\Genetic\GAMachine.h
Genetic\Genetic\Gene.cpp
Genetic\Genetic\Gene.h
Genetic\Genetic\Genetic.aps
Genetic\Genetic\Genetic.cpp
Genetic\Genetic\Genetic.h
Genetic\Genetic\Genetic.rc
Genetic\Genetic\Genetic.vcproj
Genetic\Genetic\Genetic.vcproj.WIN-UVKUUTKWBIF.Administrator.user
Genetic\Genetic\GeneticDlg.cpp
Genetic\Genetic\GeneticDlg.h
Genetic\Genetic\Genome.cpp
Genetic\Genetic\Genome.h
Genetic\Genetic\ReadMe.txt
Genetic\Genetic\res\Genetic.ico
Genetic\Genetic\res\Genetic.rc2
Genetic\Genetic\resource.h
Genetic\Genetic\stdafx.cpp
Genetic\Genetic\stdafx.h
Genetic\Genetic\targetver.h
Genetic\Genetic.sln
Genetic\Genetic\res
Genetic\bin
Genetic\Genetic
Genetic
Genetic\Genetic\GAMachine.cpp
Genetic\Genetic\GAMachine.h
Genetic\Genetic\Gene.cpp
Genetic\Genetic\Gene.h
Genetic\Genetic\Genetic.aps
Genetic\Genetic\Genetic.cpp
Genetic\Genetic\Genetic.h
Genetic\Genetic\Genetic.rc
Genetic\Genetic\Genetic.vcproj
Genetic\Genetic\Genetic.vcproj.WIN-UVKUUTKWBIF.Administrator.user
Genetic\Genetic\GeneticDlg.cpp
Genetic\Genetic\GeneticDlg.h
Genetic\Genetic\Genome.cpp
Genetic\Genetic\Genome.h
Genetic\Genetic\ReadMe.txt
Genetic\Genetic\res\Genetic.ico
Genetic\Genetic\res\Genetic.rc2
Genetic\Genetic\resource.h
Genetic\Genetic\stdafx.cpp
Genetic\Genetic\stdafx.h
Genetic\Genetic\targetver.h
Genetic\Genetic.sln
Genetic\Genetic\res
Genetic\bin
Genetic\Genetic
Genetic
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
