Computing the weighted Wiener and Szeged number on weighted cactus graphs in linear time - Zmazek, Blaž (Array, 2003)