Skip to content

nexus_graph_sssp_impl

general · scripts/general/nexus_graph_sssp_impl.m

nx_GRAPH_SSSP  Single-source shortest paths for graph/digraph (nexus#1767).
  Algorithms: unweighted (BFS), positive (Dijkstra), mixed (Bellman-Ford),
  acyclic (DAG relax).  pred(src)=0; unreachable pred=NaN.