An Output-Sensitive Algorithm for All-Pairs Shortest Paths in Directed Acyclic Graphs | Synapse