0

Finding the shortest path in a DAG is extremely easy:

See the example here http://www.utdallas.edu/~sizheng/CS4349.d/l-notes.d/L17.pdf

However, I cannot find a way of parallelising this code. Is there a way of doing that?

Charles G.
  • 37
  • 2
  • 1
  • Please remove the pseudocode and just give us the main idea. A wall of text with code is hard to read. Is the idea to just topologically sort and then process the nodes in top. sorted order (basically, the standard algorithm given in every algorithms textbook)? If so, you can say so. 2. What research have you done? Where have you looked? Have you done a literature search?
  • – D.W. Jun 04 '15 at 19:20