Элемент 'Bellman-Ford algorithm'