A weighted graph assigns a numerical value to each edge. The value can represent distance, travel time, traversal cost, connection speed, or another application-specific metric. In a road network, edges may measure distance or time; in a telecommunications network, they may represent usage cost or connection speed. section 3.1
Weights turn graph connectivity into a basis for comparing routes. Dijkstra’s algorithm solves the single-source shortest-path problem when edge costs are non-negative, while uniform-cost search selects a path by its lowest cumulative cost. section 3.6
Telecommunication devices
A small network can connect Device1, Device2, Device3, and Device4 with weighted edges such as 45.69, 56.34, and 18.5. These values represent connection speeds in Mbps and can be displayed beside the edges. section 3.1


