提交 9da19843 创建 作者: 宋海霞's avatar 宋海霞

modify

上级 97de450d
...@@ -23,7 +23,7 @@ int main(int argc, char* argv[]) ...@@ -23,7 +23,7 @@ int main(int argc, char* argv[])
Dijkstra(&Graph); Dijkstra(&Graph);
// //
// 输出结果 // output result
// //
OutputResult(&Graph); OutputResult(&Graph);
...@@ -31,29 +31,29 @@ int main(int argc, char* argv[]) ...@@ -31,29 +31,29 @@ int main(int argc, char* argv[])
} }
/* /*
功能: function:
最短路径的迪杰斯特拉算法 最短路径的迪杰斯特拉算法
参数: parameter:
pGraph -- 图指针 pGraph -- 图指针
*/ */
void Dijkstra(GraphMatrix* pGraph) void Dijkstra(GraphMatrix* pGraph)
{ {
int i; // 游标 int i; // The cursor
int mv, minw; // 存储最短路径中节点下标和长度 int mv, minw; // 存储最短路径中节点下标和长度
// //
// TODO: 在此添加代码 // TODO: Add the code here
// //
} }
/* /*
功能: function:
输出结果 output result
参数: parameter:
nothing
*/ */
void OutputResult(GraphMatrix* pGraph) void OutputResult(GraphMatrix* pGraph)
{ {
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论