通过扫线推动方块
Pushing Blocks by Sweeping Lines
AI总结:
本文研究方格网格中通过线推重构方块的问题,证明稀疏配置可重排成任意盒子,但任意稀疏配置仅能获得特定尺寸盒子,并完整刻画了紧凑配置下的可重排性。
摘要:
我们研究了在方格网格中使用“线推”对 $n$ 个方块(或“令牌”)进行重构的问题。线推从四个基本方向之一执行,并将该方向上处于最前沿的所有令牌推向相反方向。阻挡其他令牌的令牌也会沿同一方向被位移。\n\n使用均匀外力操纵物体的类似模型与现有游戏和谜题的机制相匹配,例如《Mega Maze》《2048》和《Labyrinth》,并且也在自组装、可编程物质和机器人运动规划的背景下得到了研究。从起始配置获得给定形状的问题已知是NP完全的。\n\n我们证明,对于每个 $n$,存在“稀疏”的 $n$ 个令牌初始配置(即任意两个令牌不在同一行或同一列),这些配置可以被重排成任意 $a\ imes b$ 的盒子,使得 $ab=n$。然而,从任意具有匹配令牌数量的稀疏配置中,只能获得 $1\ imes k$、$2\ imes k$ 和 $3\ imes 3$ 的盒子。我们还研究了将带标签的令牌重排成相同形状但令牌置换的配置的问题。对于每个初始“紧凑”配置的令牌,我们提供了通过线推可以获得的其他配置的完整刻画。
英文摘要:
We investigate the reconfiguration of $n$ blocks, or "tokens", in the square grid using "line pushes". A line push is performed from one of the four cardinal directions and pushes all tokens that are maximum in that direction to the opposite direction. Tokens that are in the way of other tokens are displaced in the same direction, as well. Similar models of manipulating objects using uniform external forces match the mechanics of existing games and puzzles, such as Mega Maze, 2048 and Labyrinth, and have also been investigated in the context of self-assembly, programmable matter and robotic motion planning. The problem of obtaining a given shape from a starting configuration is know to be NP-complete. We show that, for every $n$, there are "sparse" initial configurations of $n$ tokens (i.e., where no two tokens are in the same row or column) that can be rearranged into any $a\times b$ box such that $ab=n$. However, only $1\times k$, $2\times k$ and $3\times 3$ boxes are obtainable from any arbitrary sparse configuration with a matching number of tokens. We also study the problem of rearranging labeled tokens into a configuration of the same shape, but with permuted tokens. For every initial "compact" configuration of the tokens, we provide a complete characterization of what other configurations can be obtained by means of line pushes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。