For example , if a graph represents a road network , the weights could represent the length of each road .
Graphs with weights , or weighted graphs , are used to represent structures in which pairwise connections have some numerical values .
If a graph represents a road network , the weights could represent the length of each road .
Graphs with weights , or weighted graphs , are used to represent structures in which pairwise connections have some numerical values .