DistanceCompute: ((graph: DirectedGraph, edge: Collections.Graphs.Directed.Edge) => number)