用Dijkstra算法寻找最小路径我要分享

With the Dijkstra algorithm to find the minimum path

Dijkstra算法 最小路径 Dijkstra

关注次数: 288

下载次数: 3

文件大小: 1KB

代码分类: 智能算法

开发平台: matlab

下载需要积分: 1积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:

该程序用Dijkstra算法寻找最小路径。输入为起点,终点,邻接矩阵。输出为最短距离,最短距离对应的路程。代码有详细注释说明。


English Description:

The program with the Dijkstra algorithm to find the minimum path.Input is starting point and end point, adjacency matrix.Output is the shortest distance, the shortest distance corresponding to the distance.Code is annotated in detail.


代码预览

Dijkstra.m