R/RcppExports.R
rcpp_floyd_flow.RdFloyd-Warshall algorithm for shortest-path distances and total flows
rcpp_floyd_flow(C)
| C | numeric matrix of edge costs |
|---|
D matrix of shortest-path distances, i.e. sum of costs along minimising paths
F matrix of total flows, i.e. sum of inverse costs, along shortest-paths