Open
Description
prt_shortpath()
passes NULL to the weights argument of igraph::shortest_paths()
and this results in the shortest path being determined based on the fewest number of nodes instead of distance.
the fix is to use the sfnetwork::set_path_weights()
to create the vector of weights and pass that instead of NULL
Metadata
Metadata
Assignees
Labels
No labels