# Four routers. Links: A-B=1, A-D=4, B-C=2, C-D=3 (the example from the earlier post) 4 1 -1 4 # A-B A-C A-D 2 -1 # B-C B-D 3 # C-D