390 likes | 528 Vues
This document outlines the concept of Shortest-Paths Trees (SPT), which aims to identify the optimal set of edges connecting all nodes, minimizing the total edge lengths from a source node. It covers key algorithms such as Dijkstra's and Bellman-Ford, detailing methods to handle negative edges in directed graphs. By illustrating the process of edge relaxation and construction of SPTs, this resource serves as a practical guide for students and professionals in computer science, especially within the fields of graph theory and algorithm design.
E N D
Shortest-Paths Trees Kun-Mao Chao (趙坤茂) Department of Computer Science and Information Engineering National Taiwan University, Taiwan E-mail: kmchao@csie.ntu.edu.tw WWW: http://www.csie.ntu.edu.tw/~kmchao
Shortest-Paths Trees • The objective is to find the set of edges connecting all nodes such that the sum of the edge lengths from the source to each node is minimized. • In order to minimize the total path lengths, the path from the source to each node must be a shortest path connecting them.