arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1311.1859cs.DS
收藏

图的补图和部分可补有向图的简单DFS

Simple DFS on the Complement of a Graph and on Partially Complemented Digraphs

Benson Joeris, Nathan Lindzey, Ross M. McConnell, Nissa Osheim

摘要:

对有向图顶点的补运算将所有输出弧变为非弧,并将所有输出非弧变为弧。部分可补有向图$\widetilde{G}$是从$G$上的一系列顶点补运算获得的有向图。Dahlhaus等人证明,给定$\widetilde{G}$的邻接列表表示,$G$上的深度优先搜索(DFS)可以在$O(n + \widetilde{m})$时间内执行,其中$n$是$\widetilde{G}$中的顶点数,$\widetilde{m}$是边数。为了达到这个界限,他们的算法使用了一个有点复杂的类似堆栈的数据结构来模拟递归堆栈,而不是直接将其实现为递归算法。本文给出了一个递归的$O(n+\widetilde{m})$算法,它不使用复杂的数据结构。

英文摘要:

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 $\widetilde{G}$ is a digraph obtained from a sequence of vertex complement operations on $G$. Dahlhaus et al. showed that, given an adjacency-list representation of $\widetilde{G}$, depth-first search (DFS) on $G$ can be performed in $O(n + \widetilde{m})$ time, where $n$ is the number of vertices and $\widetilde{m}$ is the number of edges in $\widetilde{G}$. 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+\widetilde{m})$ algorithm that uses no complicated data-structures.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑