Covering Points of a Digraph with Point-Disjoint Paths and Its Application to Code Optimization
- 1 April 1977
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 24 (2) , 192-198
- https://doi.org/10.1145/322003.322005
Abstract
A point-disjoint path cover of a directed graph is a collection of point-disjoint paths (some paths possibly having zero length) which covers all the points. A path cover which minimizes the number of paths corresponds to an optimal sequence of the steps of a computer program for efficient coding and documentation. The minimization problem for the general directed graph is hard in the sense of being NP-complete. In the case of cycle-free digraphs, however, the problem is polynomial, for it is shown that it can be reduced to the maximum-matching problem. A heuristic given here for finding a near optimal path cover for the general case is based upon applying the maximum-matching algorithm to the subgraphs of an interval decomposition.Keywords
This publication has 4 references indexed in Scilit:
- Characterizations of Reducible Flow GraphsJournal of the ACM, 1974
- On covering the points of a graph with point disjoint pathsLecture Notes in Mathematics, 1974
- Control flow analysisACM SIGPLAN Notices, 1970
- GRAPH THEORYPublished by Defense Technical Information Center (DTIC) ,1969