graphalgs
graphalgs copied to clipboard
Make `shortest_distances` generic
Currently, shortest_distances uses f32 to represent lengths. It is worth giving the user the opportunity to select the type of result. This task should be coordinated with #7
Perhaps it could be a FloatMeasure from a petgraph, but the final choice should provide maximum convenience when calculating metrics.