هناك مثلا
Dijkstra algorithm
وهو معروف
وللمزيد
راجع
graph theory