>> 自然科学版期刊 >> 2011年05期 >> 正文
用Dijkstra算法求解最短路的矩阵方法
供稿: 熊德国;胡勇文 时间: 2018-12-25 次数:

作者:熊德国胡勇文

作者单位:河南理工大学能源科学与工程学院

摘要:给出了利用权矩阵求解最短路的一种方法.该方法直接在权矩阵中进行简单计算及标记,在最终得到的矩阵中,且通过已标记元素的数值及其位置即可得到源点到其他各点的最短路长及路径.该方法操作简单,且便于在计算机上实现.

基金:国家自然科学基金资助项目(51074066);河南理工大学博士基金资助项目(648407);河南理工大学教改重点项目(2009JG042);

关键词:最短路;Dijkstra算法;权矩阵;

DOI:10.16186/j.cnki.1673-9787.2011.05.001

分类号:TP301.6;O224

Abstract:This paper is connected with the shortest path problem.A matrix method is proposed to solve the problem using Dijkstra algorithm, which can directly get the distance and the path from the source node to other nodes with simple calculation and label in weight matrix.The method can be easily completed on computer.

最近更新