arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.17658math.COcs.DM
收藏

在GPU平台上计算大矩阵的幂以求解柱面图的罗马支配数

Powers of large matrices on GPU platforms to compute the Roman domination number of cylindrical graphs

J. A. Martínez, E. M. Garzón, M. L. Puertas

AI总结:

本文提出利用GPU加速大型矩阵的$(\min,+)$幂运算来高效计算柱面图$P_m\Box C_n$的罗马支配数,并给出了特定参数下的精确解及剩余情况的下界。

摘要:

图$G$中的罗马支配是经典支配的一种变体,通过所谓的罗马支配函数$f\colon V(G)\to \{0,1,2\}$来定义,该函数满足若$f(v)=0$,则顶点$v$与至少一个满足$f(w)=2$的顶点$w$相邻。$G$的罗马支配函数的权重$f(G)$是$G$中所有顶点权重之和,即$f(G)=\sum_{u\in V(G)}f(u)$。罗马支配数$γ_R(G)$是$G$的罗马支配函数的最小权重。在本文中,我们提出了计算该参数的算法,涉及具有高计算需求的大型矩阵的$(\min,+)$幂运算,并利用GPU(图形处理器)来加速此类操作。我们开发了专用例程,利用其计算能力在GPU架构上高效计算$(\min,+)$乘积。这些算法使我们能够计算柱面图$P_m\Box C_n$(即路径与环的笛卡尔积)的罗马支配数,适用于$m=7,8,9$且$n\geq 3$的情况,以及$m\geq 10$且$n\equiv 0\pmod 5$的情况。此外,我们还为$m\geq 10$且$n\not\equiv 0\pmod 5$的其余情况提供了下界。

英文摘要:

The Roman domination in a graph $G$ is a variant of the classical domination, defined by means of a so-called Roman domination function $f\colon V(G)\to \{0,1,2\}$ such that if $f(v)=0$ then, the vertex $v$ is adjacent to at least one vertex $w$ with $f(w)=2$. The weight $f(G)$ of a Roman dominating function of $G$ is the sum of the weights of all vertices of $G$, that is, $f(G)=\sum_{u\in V(G)}f(u)$. The Roman domination number $γ_R(G)$ is the minimum weight of a Roman dominating function of $G$. In this paper we propose algorithms to compute this parameter involving the $(\min,+)$ powers of large matrices with high computational requirements and the GPU (Graphics Processing Unit) allows us to accelerate such operations. Specific routines have been developed to efficiently compute the $(\min ,+)$ product on GPU architecture, taking advantage of its computational power. These algorithms allow us to compute the Roman domination number of cylindrical graphs $P_m\Box C_n$ i.e., the Cartesian product of a path and a cycle, in cases $m=7,8,9$, $ n\geq 3$ and $m\geq $10$, n\equiv 0\pmod 5$. Moreover, we provide a lower bound for the remaining cases $m\geq 10, n\not\equiv 0\pmod 5$.

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

↑