Title
Simple DFS on the Complement of a Graph and on Partially Complemented Digraphs.
Abstract
A complementation operation on a vertex of a digraph changes all outgoing arcs into non-arcs, and outgoing non-arcs into arcs. Given a digraph G, a partially complemented digraph G ź is a digraph obtained from G by performing a sequence of vertex complement operations on G. Dahlhaus et al. showed that, given an adjacency-list representation of G ź , depth-first search (DFS) on G can be performed in O ( n + m ź ) time, where n is the number of vertices and m ź is the number of edges in G ź . This can be used for finding a depth-first spanning forest and the strongly connected components of the complement of G in time that is linear in the size of G, and Dahlhaus et al. give applications to finding the modular decomposition of an undirected graph that require that some adjacency lists be complemented and others not. To achieve this bound, their algorithm makes use of a somewhat complicated stack-like data structure to simulate the recursion stack, instead of implementing it directly as a recursive algorithm. We give a recursive O ( n + m ź ) algorithm that requires no such data-structures.
Year
DOI
Venue
2013
10.1016/j.ipl.2016.08.006
Inf. Process. Lett.
Keywords
Field
DocType
Depth-first search,Graph algorithms,Graph traversal,Partially complemented digraphs
Distributed File System,Discrete mathematics,Data structure,Combinatorics,Recursion (computer science),Vertex (geometry),Mathematics,Recursion,Digraph,Complement graph
Journal
Volume
Issue
ISSN
abs/1311.1859
C
0020-0190
Citations 
PageRank 
References 
2
0.43
2
Authors
4
Name
Order
Citations
PageRank
Benson Joeris1152.11
Nathan Lindzey2112.33
R McConnell382566.28
Nissa Osheim4242.07