📄 dijkstra.h
字号:
// Define the prototype for the Dijkstra SPF algorithm// George F. Riley, Georgia Tech, Winter 2000#ifndef __DIJKSTRA_H__#define __DIJKSTRA_H__#include "rnode.h"// The prototype for the shortest path functionvoid Dijkstra(RNodeVec_t& N, // List of nodes in the graph nodeid_t root, // Root node for route computations RoutingVec_t& NextHop, // Returned "FirstHop" vector RoutingVec_t& Parent); // Returned "Parent" vector#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -