搜索资源列表
ShortEst
- matlab最短路的贪心算法,用VC++实现,把ShortEst.dll复制到matlab工作文件夹运行(先要运行mex-setup,关联VC与MATLAB)调用方法如 a = [-1,2,3 2,-1,4 3,4,-1] ShorstEst(a) 即可-matlab most short-circuit the greedy algorithm, using VC++ to achieve, and copy it to ShortEst.dll working folder m
AntCycle
- 蚁群算法经典TSP模型,ANT-CYCLE算法的实现。 使用了C++的STL库。 原是我毕设的一部分 现在贡献出来 。 PS:网上能得到的基本上不能直接运行 而我这个复制到vc++6.0的控制台工程中即可 文件中的文件“oliver30Tsp.dat” 为实现蚁群算法的经典例子,网上还有很多类似的测试例子-ANT COLONY ALGORITHM. TSP MODEL. ANT CYCLE.