基于卵石联合重定位的$(N^2-1)$ -Puzzle次优解的改进及其在基于规则的协同寻路中的应用
Improvements in Sub-optimal Solving of the $(N^2-1)$-Puzzle via Joint Relocation of Pebbles and its Applications to Rule-based Cooperative Path-Finding
摘要:
研究了基于规则的算法求解$(n^2-1)$ -难题和次优协同寻路问题。在拼图的任务是重新安排$n^2-1$卵石的大小为n × n的正方形网格使用一个空缺的位置到一个所需的目标配置。提出了一种改进的多项式时间算法,并进行了实验分析。改进后的算法试图以比原始算法更有效的方式移动鹅卵石,方法是将鹅卵石分组为所谓的蛇,并在蛇内联合移动鹅卵石。实验评估表明,使用蛇的算法产生的解决方案是8%至9%,比原来的算法产生的解决方案短。蛇为基础的重新定位也被集成到基于规则的算法,解决CPF问题的次优,这是一个密切相关的任务。CPF的任务是将一组抽象机器人在无向图上移动到给定的目标顶点。机器人可以移动到未占用的相邻顶点,并且每个顶点最多可以放置一个机器人。$(n^2-1)$ -谜题是CPF的一个特殊情况,其中底层图由4连通网格表示,并且只有一个空顶点。在我们的研究中包括两个主要的基于规则的算法CPF- BIBOX和推和交换(推和旋转)。通过在BIBOX算法中使用蛇得到的改进在$(n^2-1)$ -难题求解中稳定在30%左右,在具有各种耳分解和多个空顶点的双连通图上的CPF中稳定在50%左右。在PUSH-and-SWAP算法的情况下,蛇实现的改进约为5%至8%。然而,在PUSH-and-SWAP的情况下,改善是不稳定的,并且难以预测。
英文摘要:
The problem of solving $(n^2-1)$-puzzle and cooperative path-finding (CPF) sub-optimally by rule based algorithms is addressed in this manuscript. The task in the puzzle is to rearrange $n^2-1$ pebbles on the square grid of the size of n x n using one vacant position to a desired goal configuration. An improvement to the existent polynomial-time algorithm is proposed and experimentally analyzed. The improved algorithm is trying to move pebbles in a more efficient way than the original algorithm by grouping them into so-called snakes and moving them jointly within the snake. An experimental evaluation showed that the algorithm using snakes produces solutions that are 8% to 9% shorter than solutions generated by the original algorithm. The snake-based relocation has been also integrated into rule-based algorithms for solving the CPF problem sub-optimally, which is a closely related task. The task in CPF is to relocate a group of abstract robots that move over an undirected graph to given goal vertices. Robots can move to unoccupied neighboring vertices and at most one robot can be placed in each vertex. The $(n^2-1)$-puzzle is a special case of CPF where the underlying graph is represented by a 4-connected grid and there is only one vacant vertex. Two major rule-based algorithms for CPF were included in our study - BIBOX and PUSH-and-SWAP (PUSH-and-ROTATE). Improvements gained by using snakes in the BIBOX algorithm were stable around 30% in $(n^2-1)$-puzzle solving and up to 50% in CPFs over bi-connected graphs with various ear decompositions and multiple vacant vertices. In the case of the PUSH-and-SWAP algorithm the improvement achieved by snakes was around 5% to 8%. However, the improvement was unstable and hardly predictable in the case of PUSH-and-SWAP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。