A Linear Time Algorithm for Determining Almost Bipartite Graphs.

Lecture Notes in Computer Science(2015)

引用 0|浏览5
暂无评分
摘要
A graph G = (V, E) is called almost bipartite if G is not bipartite, but there exists a vertex v is an element of V such that G-{v} is bipartite. We consider the problem of testing if G is almost bipartite or not. This problem arises from the study on the k-arch layout problem. It is known that, given a graph G and an integer k >= 2, it is NP-complete to determine if G has a k-arch layout. On the other hand, G has a 1-arch layout if and only if G is almost bipartite [3]. It is straightforward to test if G is almost bipartite in O(n(n+ m)) time by using depth first search. In this paper, we present a simple linear time algorithm for solving this problem. The efficiency of the algorithm is achieved by sophisticated applications of depth first search tree and the study of the structure of such graphs.
更多
查看译文
关键词
Linear Time Algorithm, Depth-first Search (DFS), Sophisticated Applications, Candidate Vertices, Witness Vertex
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要