provided better PartialConnectionCosts implementation based on the shortest path
provided better PartialConnectionCosts implementation based on the shortest path

fabsenet/ncgsim,fabsenet/ncgsim,fabsenet/ncgsim