Simple DFS on the complement of a graph and on partially complemented digraphs

From MaRDI portal




Abstract: A complementation operation on a vertex of a digraph changes all outgoing arcs into non-arcs, and outgoing non-arcs into arcs. A partially complemented digraph widetildeG is a digraph obtained from a sequence of vertex complement operations on G. Dahlhaus et al. showed that, given an adjacency-list representation of widetildeG, depth-first search (DFS) on G can be performed in O(n+widetildem) time, where n is the number of vertices and widetildem is the number of edges in widetildeG. 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+widetildem) algorithm that uses no complicated data-structures.









This page was built for publication: Simple DFS on the complement of a graph and on partially complemented digraphs

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q318918)