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

紧凑的图表示及其算法应用

Succinct Graph Representations and Algorithmic Applications

Purdue University(普渡大学)

Ahammed Ullah, Alex Pothen

AI总结:

本文提出利用密集局部结构的紧凑图表示,改进时间和空间效率。通过定义双团覆盖(DCC)表示,开发了基于该表示的算法,显著提升图算法的性能,如连通分量计算在内存和时间上均取得显著优化。

摘要:

我们提出了一种新的图表示方法,利用密集的局部结构同时提高时间和空间效率。对于无向图G,我们定义双团覆盖(DCC)表示为(C, L),其中C是覆盖G边的团集合,L是C的 incidence dual。我们识别出可多项式时间构造的DCC表示,称为紧凑DCC表示。然后,我们为几个基本图问题开发了基于表示的算法。我们证明图基本操作如连通分量、广度优先搜索森林、深度优先搜索森林和最大匹配可以按DCC表示的大小而非边数进行计算。结合我们的紧凑DCC表示,这些结果提供了一类算法,其时间和空间界限要么与标准图表示相当,要么更优。此外,我们设计了几种构造紧凑DCC表示的算法,并建立了其效率的可证明保证。我们评估了几种图算法在DCC表示上的性能,与基于邻接表的实现相比,在大量真实世界和合成图上均表现出显著的执行内存节省和总时间加速;例如,连通分量算法平均执行内存节省约9倍,最大达35倍,总时间加速平均约6.5倍,最大达35倍。我们还评估了几种DCC构造算法,发现紧凑性属性在使DCC表示在算法应用中有效方面起关键作用。

英文摘要:

We propose new graph representations that exploit dense local structure to improve time and space simultaneously. Given an undirected graph $G$, we define a dual clique cover (DCC) representation of $G$ to be the pair $(C, L)$, where $C$ is a collection of cliques that covers the edges of $G$ and $L$ is the incidence dual of $C$. We identify classes of polynomial-time constructible DCC representations that are compact and call them succinct DCC representations. We then develop representation-aware algorithms for several fundamental graph problems. We show that graph primitives such as connected components, breadth-first search forests, depth-first search forests, and maximal matchings can be computed in time proportional to the size of a DCC representation rather than the number of edges. Combined with our succinct DCC representations, these results give a class of algorithms that either match or improve the time and space bounds of their counterparts on standard graph representations. Furthermore, we design several algorithms for constructing succinct DCC representations and establish provable guarantees on their efficiency. We evaluate several graph algorithms on DCC representations against adjacency-list-based implementations on a large collection of real-world and synthetic graphs. All evaluated applications show substantial execution memory savings and total-time speedups; for example, the connected components algorithm achieves about $9\times$ execution memory savings on average, with a maximum of $35\times$, and about $6.5\times$ total-time speedups on average, with a maximum of $35\times$. We also evaluate several DCC construction algorithms and find that the succinctness property plays a key role in making DCC representations effective for algorithmic applications.

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

↑