vvec ← graph #.path (from to)           ⍝ Shortest path between ⍵ in graph ⍺.

Returns  a  vector of vertices that represents a shortest path between end-point
vertices  [from]  and  [to]  of  [graph].  There may be many paths of the _same_
length,  but none shorter. Notice that the reverse path (to from) may not be the
reverse of the original forward path. See notes.Graphs in workspace dfns.dws for
a full description of graphs.

See also: dfns.dws/notes.Graphs
          dfns.dws/notes.path

See also: →compile← →trip← →ed←

Back to: contents