江南织造 发表于 2009-7-29 21:57




2648868

就好比这个图里面点1到点5的最短路径数量就是2个,即点1到点3到点5,点1到点4到点5。这些点和连接都用矩阵来表示,然后通过矩阵来求点与点之间最短路径的数量。这个图的矩阵就是:[0 1 1 1 0; 1...
星星和月亮 发表于 2009-7-29 15:24 http://www.dolc.de/forum/images/common/back.gif

参考下dijkstra算法
看这个
http://www.mathworks.com/matlabcentral/fileexchange/20025

星星和月亮 发表于 2009-7-30 13:13



参考下dijkstra算法
看这个
http://www.mathworks.com/matlabcentral/fileexchange/20025
江南织造 发表于 2009-7-29 22:57 http://www.dolc.de/forum/images/common/back.gif


太感谢啦,偶研究下先~~~~~~~~~~~~~~~~ {:4_295:}

adsfgh 发表于 2009-9-9 14:40

if you cann't simplify your algorithm and the data accuracy are not the most important,
you can try to use the single data type to reduce your required memory at 50%.

Additional, the Matlab x64 is not limited at 3G Memory, you can take this version for your problem,

good luck
页: 1 2 [3]
查看完整版本: 请教关于matlab的memory的问题,谢谢啦