Length of a path

Материал из WikiGrapp
Версия от 13:38, 31 мая 2011; Glk (обсуждение | вклад) (Новая страница: «'''Length of a path''' --- длина пути. In an unweighted graph, the '''length of a path''' is the number of arcs in the path. In a weighted graph, the '''l…»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску

Length of a path --- длина пути.

In an unweighted graph, the length of a path is the number of arcs in the path. In a weighted graph, the length of a path is the sum of the weights of all edges of the path. The shortest-path distance between [math]\displaystyle{ u }[/math] and [math]\displaystyle{ v }[/math] is the minimum length of a path from [math]\displaystyle{ u }[/math] to [math]\displaystyle{ v }[/math]. The path of minimum length is called a shortest path between [math]\displaystyle{ u }[/math] and [math]\displaystyle{ v }[/math].