Feedback vertex set

From HandWiki
Revision as of 18:40, 6 February 2024 by John Stpola (talk | contribs) (fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In the mathematical discipline of graph theory, a feedback vertex set (FVS) of a graph is a set of vertices whose removal leaves a graph without cycles ("removal" means deleting the vertex and all edges adjacent to it). Equivalently, each FVS contains at least one vertex of any cycle in the graph. The feedback vertex set number of a graph is the size of a smallest feedback vertex set. The minimum feedback vertex set problem is an NP-complete problem; it was among the first problems shown to be NP-complete. It has wide applications in operating systems, database systems, and VLSI chip design.

Definition

The FVS decision problem is as follows:

INSTANCE: An (undirected or directed) graph [math]\displaystyle{ G = (V, E) }[/math] and a positive integer [math]\displaystyle{ k }[/math].
QUESTION: Is there a subset [math]\displaystyle{ X \subseteq V }[/math] with [math]\displaystyle{ |X| \leq k }[/math] such that, when all vertices of [math]\displaystyle{ X }[/math] and their adjacent edges are deleted from [math]\displaystyle{ G }[/math], the remainder is cycle-free?

The graph [math]\displaystyle{ G[V \setminus X] }[/math] that remains after removing [math]\displaystyle{ X }[/math] from [math]\displaystyle{ G }[/math] is an induced forest (resp. an induced directed acyclic graph in the case of directed graphs). Thus, finding a minimum FVS in a graph is equivalent to finding a maximum induced forest (resp. maximum induced directed acyclic graph in the case of directed graphs).

NP-hardness

(Karp 1972) showed that the minimum FVS problem for directed graphs is NP-complete. The problem remains NP-complete on directed graphs with maximum in-degree and out-degree two, and on directed planar graphs with maximum in-degree and out-degree three.[1]

Karp's reduction also implies the NP-completeness of the FVS problem on undirected graphs, where the problem stays NP-hard on graphs of maximum degree four. The FVS problem can be solved in polynomial time on graphs of maximum degree at most three.[2]

Exact algorithms

The corresponding NP optimization problem of finding the size of a minimum feedback vertex set can be solved in time O(1.7347n), where n is the number of vertices in the graph.[3] This algorithm actually computes a maximum induced forest, and when such a forest is obtained, its complement is a minimum feedback vertex set. The number of minimal feedback vertex sets in a graph is bounded by O(1.8638n).[4] The directed feedback vertex set problem can still be solved in time O*(1.9977n), where n is the number of vertices in the given directed graph.[5] The parameterized versions of the directed and undirected problems are both fixed-parameter tractable.[6]

In undirected graphs of maximum degree three, the feedback vertex set problem can be solved in polynomial time, by transforming it into an instance of the matroid parity problem for linear matroids.[7]

Approximation

The undirected problem is APX-complete. This follows from the following facts.

  • The APX-completeness of the vertex cover problem;[8]
  • The existence of an approximation preserving L-reduction from the vertex cover problem to it;
  • Existing constant-factor approximation algorithms.[9]

The best known approximation algorithm on undirected graphs is by a factor of two.[10]

By contrast, the directed version of the problem appears to be much harder to approximate. Under the unique games conjecture, an unproven but commonly used computational hardness assumption, it is NP-hard to approximate the problem to within any constant factor in polynomial time. The same hardness result was originally proven for the closely related feedback arc set problem,[11] but since the feedback arc set problem and feedback vertex set problem in directed graphs are reducible to one another while preserving solution sizes,[12] it also holds for the latter.

Bounds

According to the Erdős–Pósa theorem, the size of a minimum feedback vertex set is within a logarithmic factor of the maximum number of vertex-disjoint cycles in the given graph.[13]

Related concepts

  • Instead of vertices, one can consider a feedback edge set - a set of edges in an undirected graph, whose removal makes the graph acyclic. The size of a smallest feedback edge set in a graph is called the circuit rank of the graph. In contrast to the FVS number, the circuit rank can be easily computed: it is [math]\displaystyle{ |E|-|V|+|C| }[/math], where C is the set of connected components of the graph. The problem of finding a smallest feedback edge set is equivalent to finding a spanning forest, which can be done in polynomial time.
  • The analogous concept in a directed graph is the feedback arc set (FAS) - a set of directed arcs whose removal makes the graph acyclic. Finding a smallest FAS is an NP-hard problem.[9]

Applications

  • In operating systems, feedback vertex sets play a prominent role in the study of deadlock recovery. In the wait-for graph of an operating system, each directed cycle corresponds to a deadlock situation. In order to resolve all deadlocks, some blocked processes have to be aborted. A minimum feedback vertex set in this graph corresponds to a minimum number of processes that one needs to abort.[14]
  • The feedback vertex set problem has applications in VLSI chip design.[15]
  • Another application is in complexity theory. Some computational problems on graphs are NP-hard in general, but can be solved in polynomial time for graphs with bounded FVS number. Some examples are graph isomorphism[16] and the path reconfiguration problem.[17]

Notes

  1. unpublished results due to Garey and Johnson, cf. (Garey Johnson): GT7
  2. (Ueno Kajitani); (Li Liu)
  3. (Fomin Villanger)
  4. Fomin et al. (2008).
  5. Razgon (2007).
  6. Chen et al. (2008).
  7. Ueno, Kajitani & Gotoh (1988).
  8. Dinur & Safra 2005
  9. 9.0 9.1 (Karp 1972)
  10. (Becker Geiger). See also (Bafna Berman) for an alternative approximation algorithm with the same approximation ratio.
  11. Guruswami, Venkatesan; Manokaran, Rajsekar; Raghavendra, Prasad (2008). "Beating the Random Ordering is Hard: Inapproximability of Maximum Acyclic Subgraph". 2008 49th Annual IEEE Symposium on Foundations of Computer Science. pp. 573–582. doi:10.1109/FOCS.2008.51. ISBN 978-0-7695-3436-7. https://ieeexplore.ieee.org/document/4690990. 
  12. Even, G.; (Seffi) Naor, J.; Schieber, B.; Sudan, M. (1998). "Approximating Minimum Feedback Sets and Multicuts in Directed Graphs" (in en). Algorithmica 20 (2): 151–174. doi:10.1007/PL00009191. ISSN 0178-4617. http://link.springer.com/10.1007/PL00009191. 
  13. Erdős & Pósa (1965).
  14. Silberschatz, Galvin & Gagne (2008).
  15. Festa, Pardalos & Resende (2000).
  16. Kratsch, Stefan; Schweitzer, Pascal (2010). "Isomorphism for Graphs of Bounded Feedback Vertex Set Number". in Kaplan, Haim (in en). Algorithm Theory - SWAT 2010. Lecture Notes in Computer Science. 6139. Berlin, Heidelberg: Springer. pp. 81–92. doi:10.1007/978-3-642-13731-0_9. ISBN 978-3-642-13731-0. Bibcode2010LNCS.6139...81K. https://link.springer.com/chapter/10.1007/978-3-642-13731-0_9. 
  17. (in en-gb) Algorithms and Data Structures. Lecture Notes in Computer Science. 11646. 2019. doi:10.1007/978-3-030-24766-9. ISBN 978-3-030-24765-2. https://link.springer.com/content/pdf/10.1007/978-3-030-24766-9.pdf#page=370. 

References

Research articles

Textbooks and survey articles