3-6
算法 K. 

所属分类:人工智能/神经网络/深度学习
开发工具:C++
文件大小:256KB
下载次数:1
上传日期:2017-12-20 22:36:01
上 传 者mazr
说明:  使用f[i][j]代表从i到j所花费最小费用,则将从i到j路径变成i->z->j,k代表要走的站点数量,起始位置为i所以终点位置为:i+k,保证最后一段为k所以循环截止到i<=n-k,z就是中间站点。如果这样比f[i][j]小,则交换值
(Using f[i][j] to represent the minimum cost from I to j will turn I from J to i->z->j, K represents the number of sites to go, and the initial location is I, so the end point is i+k, which ensures the last segment is k, so the cycle ends to i<=n-k, and the middle point is the middle. If this is smaller than f[i][j], exchange values)

文件列表:
3-6 (0, 2017-11-30)
3-6\3-6.cbp (1059, 2017-11-29)
3-6\3-6.depend (101, 2017-11-29)
3-6\3-6.layout (321, 2017-11-30)
3-6\bin (0, 2017-11-29)
3-6\bin\Debug (0, 2017-11-29)
3-6\bin\Debug\3-6.exe (967597, 2017-11-29)
3-6\main.cpp (653, 2017-11-29)
3-6\obj (0, 2017-11-29)
3-6\obj\Debug (0, 2017-11-29)
3-6\obj\Debug\main.o (12309, 2017-11-29)

近期下载者

相关文件


收藏者