English

On Existence of Must-Include Paths and Cycles in Undirected Graphs

Combinatorics 2023-02-21 v1 Data Structures and Algorithms

Abstract

Given an undirected graph G=(V,E)G=(V,E) and vertices s,t,w1,w2Vs,t,w_1,w_2\in V, we study finding whether there exists a simple path PP from ss to tt such that w1,w2Pw_1,w_2 \in P. As a sub-problem, we study the question: given an undirected graph and three of its edges, does there exist a simple cycle containing all those edges? We provide necessary and sufficient conditions for the existence of such paths and cycles, and develop efficient algorithms to solve this and related problems.

Keywords

Cite

@article{arxiv.2302.09614,
  title  = {On Existence of Must-Include Paths and Cycles in Undirected Graphs},
  author = {Yefim Dinitz and Solomon Eyal Shimony},
  journal= {arXiv preprint arXiv:2302.09614},
  year   = {2023}
}