graphalgs icon indicating copy to clipboard operation
graphalgs copied to clipboard

Make `shortest_distances` generic

Open starovoid opened this issue 1 year ago • 0 comments

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.

starovoid avatar Dec 30 '24 16:12 starovoid