getSourceVertex

getWeight

Return the weight of the path from the source vertex to the sink vertex. If no such path
exists, Double.POSITIVE_INFINITY is returned. The weight of the path between a
vertex and itself is always zero.