Skip to main navigation Skip to search Skip to main content

A linear time algorithm for determining almost bipartite graphs

  • SUNY Buffalo

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

A graph G = (V,E) is called almost bipartite if G is not bipartite, but there exists a vertex v ∈ 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.

Original languageEnglish
Title of host publicationTheory and Applications of Models of Computation - 12th Annual Conference, TAMC 2015, Proceedings
EditorsRahul Jain, Sanjay Jain, Frank Stephan
PublisherSpringer Verlag
Pages164-176
Number of pages13
ISBN (Electronic)9783319171418
DOIs
StatePublished - 2015
Event12th Annual Conference on Theory and Applications of Models of Computation, TAMC 2015 - Singapore, Singapore
Duration: May 18 2015May 20 2015

Publication series

NameLecture Notes in Computer Science
Volume9076 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference12th Annual Conference on Theory and Applications of Models of Computation, TAMC 2015
Country/TerritorySingapore
CitySingapore
Period05/18/1505/20/15

Fingerprint

Dive into the research topics of 'A linear time algorithm for determining almost bipartite graphs'. Together they form a unique fingerprint.

Cite this