文件名称:TSP
- 所属分类:
- 人工智能/神经网络/遗传算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 21kb
- 下载次数:
- 0次
- 提 供 者:
- ning****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
tsp
for (int i=0 i<M i++)
S[i] = i
S[M] = 0
T = 1000 //初始温度1000
Tl = 35000 //内循环次数35000
a = 0.93 //温度下降系数
k = 0
PreMin = 0
Path = GetPath(S)
srand((unsigned)time( NULL ))
cout<<"The initial Path Distence is: "<<Path<<endl
return true -tsp
for (int i=0 i<M i++)
S[i] = i
S[M] = 0
T = 1000 //初始温度1000
Tl = 35000 //内循环次数35000
a = 0.93 //温度下降系数
k = 0
PreMin = 0
Path = GetPath(S)
srand((unsigned)time( NULL ))
cout<<"The initial Path Distence is: "<<Path<<endl
return true
for (int i=0 i<M i++)
S[i] = i
S[M] = 0
T = 1000 //初始温度1000
Tl = 35000 //内循环次数35000
a = 0.93 //温度下降系数
k = 0
PreMin = 0
Path = GetPath(S)
srand((unsigned)time( NULL ))
cout<<"The initial Path Distence is: "<<Path<<endl
return true -tsp
for (int i=0 i<M i++)
S[i] = i
S[M] = 0
T = 1000 //初始温度1000
Tl = 35000 //内循环次数35000
a = 0.93 //温度下降系数
k = 0
PreMin = 0
Path = GetPath(S)
srand((unsigned)time( NULL ))
cout<<"The initial Path Distence is: "<<Path<<endl
return true
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TSP
...\cx110.txt
...\OutPut.txt
...\TSP.CPP
...\TSP.DSP
...\TSP.DSW
...\TSP.ncb
...\TSP.OPT
...\TSP.PLG
...\cx110.txt
...\OutPut.txt
...\TSP.CPP
...\TSP.DSP
...\TSP.DSW
...\TSP.ncb
...\TSP.OPT
...\TSP.PLG