Path cover
Given a directed graph G = (V, E), a path cover is a set of directed paths such that every vertex v ∈ V belongs to at least one path.[src] Note that a path cover may include paths of length 0 (a single vertex).[src] A path cover may also refer to a vertex-disjoint path cover, i.e., a set of paths such that every vertex v ∈ V belongs to exactly one path.[src]
Given a directed graph G = (V, E), a path cover is a set of directed paths such that every vertex v ∈ V belongs to at least one path.[src] Note that a path cover may include paths of length 0 (a single vertex).[src] A path cover may also refer to a vertex-disjoint path cover, i.e., a set of paths such that every vertex v ∈ V belongs to exactly one path.[src] ==Properties== A theorem by Gallai and Milgram shows that the number of paths in a smallest path cover cannot be larger than the number of vertices in the largest independent set.[src] In particular, for any graph G, there is a path cover P and an independent set I such that I contains exactly one vertex from each path in P.[src] Dilworth's theorem follows as a corollary of this result.[src] ==Computational complexity== Given a directed graph G, the minimum path cover problem consists of finding a path cover for G having the fewest paths.[src] A minimum path cover consists of one path if and only if there is a Hamiltonian path in G.[src] The Hamiltonian path problem is NP-complete, and hence the minimum path cover problem is NP-hard.[src] However, if the graph is acyclic, the problem is in complexity class P and can therefore be solved in polynomial time by transforming it into a matching problem, see https://walkccc.me/CLRS/Chap26/Problems/26-2/.[src] ==Applications== The applications of minimum path covers include software testing.[src] For example, if the graph G represents all possible execution sequences of a computer program, then a path cover is a set of test runs that covers each program statement at least once.[src] Another application of minimum path covers problem is finding the minimum number of fleets and optimal dispatching of them to serve mobility demand in a city.[src] ==See also== Covering (disambiguation)#Mathematics ==Notes== ==References== .[src] .[src] .[src] .[src]
20 sentences · 20 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Path cover." encyclopegia.org, 2026, https://encyclopegia.org/wiki/path-cover. Accessed 25 November 2026.
Chicago
"Path cover." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/path-cover.
APA
encyclopegia.org. (2026). Path cover. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/path-cover
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON