第1题
A.(1),(2),(3)
B.(1)
C.(1),(3)
D.(2),(3)
第2题
A、当图中存在负权边时,Dijkstra算法必定不能求出源点到所有点的最短路
B、Dijkstra算法的使用条件,要求整个图架构与所有边的权重均已知。
C、当图中不存在负权边时,Dijkstra算法能求出每对顶点间最短路径。
D、当图中存在负权边时,Dijkstra算法不一定能求出源点到所有点的最短路。
第3题
A、当图中不存在负权回路但是存在负权边时,Dijkstra算法不一定能求出源点到所有点的最短路。 When the graph doesn't contain circuit of negative weight, but contains the edge of negative weight. Dijkstra algorithm can't guarantee the correctness of the algorithm.
B、当图中不存在负权边时,Dijkstra算法能求出每对顶点间最短路径。 When the graph doesn't contain edge of negative weight, Dijkstra algorithm can calculate the shortest path of each pair of vertices.
C、当图中存在负权回路时,Dijkstra算法也一定能求出源点到所有点的最短路。When the graph contains the circuit of negative weight, Dijkstra algorithm can certainly calculate the shortest path form the single source to all the vertices.
D、Dijkstra算法不能用于每对顶点间最短路计算。Dijkstra algorithm can't be applied to calculate the shortest path of each pair of vertices.
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!