- s can be a single source node, and t can specify multiple target nodes.
How to find a shortest path from a node to a sub-network?
1 view (last 30 days)
Walter Roberson on 15 Jan 2021
TR = shortestpathtree(G,s,t) computes the tree of shortest paths between multiple source or target nodes: