Comments

Cant you just consider the weights to be the distances between the nodes and run a normal Dijsktras on it.