{"id":"arxiv:1301.0181","kind":"preprint","title":"A nonenumerative algorithm to find the k longest (shortest) paths in a DAG","authors":["Fatih Kocan"],"author_count":1,"year":2013,"published":"2013-01-02","venue":null,"cited_by":null,"doi":null,"arxiv_id":"1301.0181","nct_id":null,"source_url":"https://arxiv.org/abs/1301.0181","archive_url":"https://space-kitty.com/papers/arxiv:1301.0181","updated":"2013-01-02","pmid":null,"pmcid":null,"openalex_id":null,"pdf_url":"https://arxiv.org/pdf/1301.0181","abstract":"In this paper, we present a novel and efficient algorithm to find the k longest (shortest) paths between sources and sinks in a directed acyclic graph (DAG). The algorithm does not enumerate paths therefore it is especially useful for very large k values. It is based on the Valued-Sum-of-Product (VSOP) tool, which is an extension of Zero-suppressed Binary Decision Diagrams (ZBDDs). We assessed the performance of this algorithm with a DAG model of a path-intensive combinational circuit, viz. c6288, that has \\sim10^{20} paths. We found that it took about 64 minutes to compute all paths in this DAG along with their lengths.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":false,"categories":["cs.DS"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[],"cited_in_dossiers":[]}