In link-state routing protocols, the sum of the link costs along the path between two nodes or networks.